Class AJComponentAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- info.monitorenter.gui.chart.events.AJComponentAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.beans.PropertyChangeListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Direct Known Subclasses:
JComponentActionSetBackground,JComponentActionSetCustomBackground,JComponentActionSetCustomBackgroundSingleton,JComponentActionSetCustomForeground,JComponentActionSetCustomForegroundSingleton,JComponentActionSetForeground
public abstract class AJComponentAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListenerThe base class that connects triggered actions with an
JComponentinstance.Every subclass may delegate it's constructor-given
JComponentinstance as protected memberm_component.- Version:
- $Revision: 1.5 $
- Author:
- Achim Westermann
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JComponentm_componentThe target of this action.
-
Constructor Summary
Constructors Constructor Description AJComponentAction(javax.swing.JComponent component, java.lang.String description)Create anActionthat accesses theJComponentand identifies itself with the given action String.
-
Method Summary
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
AJComponentAction
public AJComponentAction(javax.swing.JComponent component, java.lang.String description)Create anActionthat accesses theJComponentand identifies itself with the given action String.- Parameters:
component- the target the action will work on.description- the descriptiveStringthat will be displayed byAbstractButtonsubclasses that get thisActionassigned (AbstractButton.setAction(javax.swing.Action)).
-
-