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 TypeMethodDescriptionvoid
void
boolean
void
void
void
void
setDefaultAction
(Action defaultAction) void
setEnabled
(boolean b)
-
Constructor Details
-
ActionAdapter
-
-
Method Details
-
setDefaultAction
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceAction
-
getValue
-
isEnabled
public boolean isEnabled() -
putValue
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceAction
-
setEnabled
public void setEnabled(boolean b) - Specified by:
setEnabled
in interfaceAction
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-