bibliothek.gui.dock.common.action.core
Class CommonSimpleMenuAction
java.lang.Object
bibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.SimpleDockAction
bibliothek.gui.dock.action.actions.SimpleMenuAction
bibliothek.gui.dock.common.action.core.CommonSimpleMenuAction
- All Implemented Interfaces:
- SharingStandardDockAction, DockAction, MenuDockAction, StandardDockAction, CommonDecoratableDockAction, CommonDockAction
public class CommonSimpleMenuAction
- extends SimpleMenuAction
- implements CommonDecoratableDockAction
A SimpleMenuAction
implementing CommonDockAction
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
bound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unbound |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.action.actions.SharingStandardDockAction |
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip |
CommonSimpleMenuAction
public CommonSimpleMenuAction(CAction action,
DockActionSource menu)
- Creates a new action.
- Parameters:
action
- the CAction
wrapping around this DockAction
menu
- the content of this menu
getAction
public CAction getAction()
- Description copied from interface:
CommonDockAction
- Gets the
CAction
which wrapps this DockAction
.
- Specified by:
getAction
in interface CommonDockAction
- Returns:
- the wrapping action, not
null