Package se.datadosen.util
Class AliasAction
java.lang.Object
javax.swing.AbstractAction
se.datadosen.util.AliasAction
- All Implemented Interfaces:
ActionListener
,PropertyChangeListener
,Serializable
,Cloneable
,EventListener
,Action
- Direct Known Subclasses:
ActionTracker
,MenuAction
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorsConstructorDescriptionAliasAction
(Action target) AliasAction
(Action target, String name) AliasAction
(Action target, Icon icon) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
void
void
void
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, removePropertyChangeListener, setEnabled
-
Field Details
-
target
-
blockedKeys
-
-
Constructor Details
-
AliasAction
-
AliasAction
-
AliasAction
-
-
Method Details
-
setAction
- Since:
- 13 Set Target action
-
getAction
- Returns:
- Target action
- Since:
- 13
-
putValue
- Specified by:
putValue
in interfaceAction
- Overrides:
putValue
in classAbstractAction
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classAbstractAction
-