Package docking.actions
Class ActionAdapter
java.lang.Object
docking.actions.ActionAdapter
- All Implemented Interfaces:
ActionListener,PropertyChangeListener,EventListener,Action
-
Field Summary
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
ConstructorsConstructorDescriptionActionAdapter(DockingActionIf dockingAction, ActionContextProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanvoidvoidvoidvoidsetDefaultAction(Action defaultAction) voidsetEnabled(boolean b)
-
Constructor Details
-
ActionAdapter
-
-
Method Details
-
setDefaultAction
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfaceAction
-
getValue
-
isEnabled
public boolean isEnabled() -
putValue
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfaceAction
-
setEnabled
public void setEnabled(boolean b) - Specified by:
setEnabledin interfaceAction
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-