@OpenApiAll public class DefaultBrowserStateAction extends MDStateAction implements BrowserAction
DISTINGUISH, GROUPED, STATEACTION_SHORTCUTS, BELONGS_TO_SEPARATE_GROUP_IN_UI, DO_NO_SHOW_ACTION_NAME_IN_UI, GENERATED_ID_PREFIX, GROUP, ID, LARGE_ICON, MENU_SHORTCUT_MASK, TINY_ICON| Constructor and Description |
|---|
DefaultBrowserStateAction(java.lang.String actionID,
java.lang.String actionName,
javax.swing.KeyStroke stroke,
java.lang.String group)
Constructs new action.
|
| Modifier and Type | Method and Description |
|---|---|
Tree |
getTree()
Return tree of this action.
|
void |
setTree(Tree tree)
Set tree for this action.
|
actionPerformed, updateStateaccept, getState, isDistinguish, isGrouped, setDistinguish, setGrouped, setStateaddAction, addPropertyChangeListener, addShortcut, addShotcut, addWeakPropertyChangeListener, clone, compareTo, createMenuItem, equals, firePropertyChange, getActions, getCommandKey, getDescription, getGroup, getIcon, getID, getLargeIcon, getLargeOrSmallIcon, getMenuShortcutMaskAsString, getMnemonicKey, getName, getPropertyChangeListeners, getShortcuts, getSmallIcon, getSmallOrLargeIcon, getTinyIcon, hashCode, hasMenuShortcutMask, isIDGenerated, removeAction, removePropertyChangeListener, removeShortcut, removeWeakPropertyChangeListener, setActions, setDescription, setGroup, setIcon, setLargeIcon, setMnemonicKey, setName, setShortcuts, setSmallIcon, setTinyIcon, shallowClone, toStringpublic DefaultBrowserStateAction(java.lang.String actionID,
java.lang.String actionName,
@CheckForNull
javax.swing.KeyStroke stroke,
java.lang.String group)
actionID - the action ID.actionName - the action name.stroke - the action stroke.group - the action group.public void setTree(Tree tree)
setTree in interface BrowserActiontree - the browser for this action.public Tree getTree()