Package org.jppf.ui.options.docking
Class AbstractDockingAction
java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.options.docking.AbstractDockingAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
DockToExistingViewAction,DockToInitialContainerAction,DockToNewViewAction
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ComponentThe component to move from one view to another.protected final StringThe id of the view to which the component will be attached.Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescriptionAbstractDockingAction(Component comp, String label) Initialize this action.AbstractDockingAction(Component comp, String label, String iconPath) Initialize this action.AbstractDockingAction(Component comp, String label, String iconPath, String viewId) Initialize this action with the specified view id. -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Field Details
-
comp
The component to move from one view to another. -
viewId
The id of the view to which the component will be attached.
-
-
Constructor Details
-
AbstractDockingAction
Initialize this action.- Parameters:
comp- the id of the view to which the component will be attached.label- the text of the corresponding menu item.iconPath- the path to an optional icon.
-
AbstractDockingAction
Initialize this action.- Parameters:
comp- the id of the view to which the component will be attached.label- the text of the corresponding menu item.
-
AbstractDockingAction
Initialize this action with the specified view id.- Parameters:
comp- the id of the view to which the component will be attached.label- the text of the corresponding menu item.iconPath- the path to an optional icon.viewId- the id of the view to which the component will be attached.
-