Package docking.menu
Class NonToolbarMultiStateAction<T>
- java.lang.Object
-
- docking.action.DockingAction
-
- docking.menu.MultiStateDockingAction<T>
-
- docking.menu.NonToolbarMultiStateAction<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
DockingActionIf
,HelpDescriptor
public abstract class NonToolbarMultiStateAction<T> extends MultiStateDockingAction<T>
A class for clients that wish to create a button that has multiple states, controlled by a drop-down menu. Further, this action is not meant to be added to a toolbar. If you wish for this action to appear in the toolbar, then extendMultiStateDockingAction
instead.To use this class, extend it, overriding the
MultiStateDockingAction.actionStateChanged(ActionState, EventTrigger)
callback. CallDockingAction.createButton()
and add the return value to your UI.- See Also:
MultiStateDockingAction
-
-
Field Summary
-
Fields inherited from interface docking.action.DockingActionIf
DESCRIPTION_PROPERTY, ENABLEMENT_PROPERTY, GLOBALCONTEXT_PROPERTY, KEYBINDING_DATA_PROPERTY, MENUBAR_DATA_PROPERTY, POPUP_MENU_DATA_PROPERTY, TOOLBAR_DATA_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description NonToolbarMultiStateAction(java.lang.String name, java.lang.String owner)
-
Method Summary
-
Methods inherited from class docking.menu.MultiStateDockingAction
actionPerformed, actionStateChanged, addActionState, doActionPerformed, doCreateButton, getAllActionStates, getCurrentState, getCurrentUserData, getStateActions, getToolTipText, setActionStates, setCurrentActionState, setCurrentActionStateByUserData, setCurrentActionStateWithTrigger, setDefaultIcon, setGroup, setMenuBarData, setPerformActionOnPrimaryButtonClick, setPopupMenuData, setSubGroup, setUseCheckboxForIcons, superSetMenuBarData
-
Methods inherited from class docking.action.DockingAction
addPropertyChangeListener, addToWindowWhen, createButton, createMenuItem, dispose, doCreateMenuItem, enabledWhen, firePropertyChanged, getDefaultKeyBindingData, getDescription, getFullName, getHelpInfo, getHelpObject, getInceptionFromTheFirstClassThatIsNotUsOrABuilder, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getPopupMenuData, getPreferredKeyBindingType, getToolBarData, isAddToPopup, isEnabled, isEnabledForContext, isValidContext, markHelpUnnecessary, popupWhen, removePropertyChangeListener, setAddToAllWindows, setDescription, setEnabled, setHelpLocation, setKeyBindingData, setSupportsDefaultToolContext, setToolBarData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultToolContext, toString, validContextWhen
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface docking.action.DockingActionIf
getOwnerDescription
-
-