java.beans.PropertyChangeListener, java.util.EventListenerJComponentActionSetBackground, JComponentActionSetCustomBackground, JComponentActionSetCustomBackgroundSingleton, JComponentActionSetCustomForeground, JComponentActionSetCustomForegroundSingleton, JComponentActionSetForegroundpublic abstract class AJComponentAction
extends javax.swing.AbstractAction
implements java.beans.PropertyChangeListener
The base class that connects triggered actions with an
JComponent instance.
Every subclass may delegate it's constructor-given JComponent
instance as protected member m_component.
| Modifier and Type | Field | Description |
|---|---|---|
protected javax.swing.JComponent |
m_component |
The target of this action.
|
| Constructor | Description |
|---|---|
AJComponentAction(javax.swing.JComponent component,
java.lang.String description) |
Create an
Action that accesses the JComponent
and identifies itself with the given action String. |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic AJComponentAction(javax.swing.JComponent component,
java.lang.String description)
Action that accesses the JComponent
and identifies itself with the given action String.component - the target the action will work on.description - the descriptive String that will be displayed by
AbstractButton subclasses that get this
Action assigned (
AbstractButton.setAction(javax.swing.Action)).Copyright © 2001 - 2010 LGPL, All Rights Footloose.