bibliothek.gui.dock.common.intern.action
Class CExtendedModeAction.Action
java.lang.Object
bibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.SimpleDockAction
bibliothek.gui.dock.action.actions.SimpleDropDownItemAction
bibliothek.gui.dock.action.actions.SimpleButtonAction
bibliothek.gui.dock.common.action.core.CommonSimpleButtonAction
bibliothek.gui.dock.common.intern.action.CExtendedModeAction.Action
- All Implemented Interfaces:
- SharingDropDownItemAction, SharingStandardDockAction, ButtonDockAction, DockAction, DropDownItemAction, StandardDockAction, StandardDropDownItemAction, CommonDecoratableDockAction, CommonDockAction, CommonDropDownItem
- Enclosing class:
- CExtendedModeAction
public class CExtendedModeAction.Action
- extends CommonSimpleButtonAction
The internal representation of a CExtendedModeAction.
- Author:
- Benjamin Sigg
| Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip |
| 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 |
CExtendedModeAction.Action
public CExtendedModeAction.Action()
- Creates a new action.
trigger
protected boolean trigger(KeyEvent event,
Dockable dockable)
- Description copied from class:
SimpleDockAction
- Called when the user hit the
accelerator.
This method directly calls trigger( dockable ), subclasses
might override this method to further analyze event.
- Overrides:
trigger in class SimpleDockAction
- Parameters:
event - the triggering eventdockable - the source of the event
- Returns:
true if this action could do anything, false
if this action was not able to react in any way to the event.
action
public void action(Dockable dockable)
- Description copied from interface:
ButtonDockAction
- Invoked when this action is triggered by the user.
- Specified by:
action in interface ButtonDockAction- Overrides:
action in class SimpleButtonAction
- Parameters:
dockable - The Dockable which is associated with
this DockAction, and which shall be used for the current action.
bound
protected void bound(Dockable dockable)
- Description copied from class:
AbstractStandardDockAction
- Invoked by this
AbstractStandardDockAction when a Dockable
was bound to this action the first time.
- Overrides:
bound in class SimpleDockAction
- Parameters:
dockable - The Dockable that was not known to this action
before the method was invoked
unbound
protected void unbound(Dockable dockable)
- Description copied from class:
AbstractStandardDockAction
- Called by this
AbstractStandardDockAction when the Dockable
dockable will not be used in any means by this
action. Note that the AbstractStandardDockAction.bound(Dockable)-method can be
invoked again with the dockable.
- Overrides:
unbound in class SimpleDockAction
- Parameters:
dockable - The Dockable which will not by used in any way.