|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.intern.action.CExtendedModeAction.Action
protected class CExtendedModeAction.Action
The internal representation of a CExtendedModeAction
.
Constructor Summary | |
---|---|
protected |
CExtendedModeAction.Action()
|
Method Summary | |
---|---|
void |
action(Dockable dockable)
Invoked when this action is triggered by the user. |
protected void |
bound(Dockable dockable)
Invoked by this AbstractStandardDockAction when a Dockable
was bound to this action the first time. |
protected boolean |
trigger(java.awt.event.KeyEvent event,
Dockable dockable)
Called when the user hit the accelerator . |
protected void |
unbound(Dockable dockable)
Called by this AbstractStandardDockAction when the Dockable
dockable will not be used in any means by this
action. |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleButtonAction |
---|
addActionListener, createView, getCommand, removeActionListener, setCommand, trigger |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDropDownItemAction |
---|
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
---|
getAccelerator, getDisabledIcon, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setText, setTooltip |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
---|
addDockActionListener, bind, fireActionDisabledIconChanged, 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.dropdown.DropDownItemAction |
---|
isDropDownSelectable, isDropDownTriggerable |
Constructor Detail |
---|
protected CExtendedModeAction.Action()
Method Detail |
---|
protected boolean trigger(java.awt.event.KeyEvent event, Dockable dockable)
SimpleDockAction
accelerator
.
This method directly calls trigger( dockable )
, subclasses
might override this method to further analyze event
.
trigger
in class SimpleDockAction
event
- the triggering eventdockable
- the source of the event
true
if this action could do anything, false
if this action was not able to react in any way to the event.public void action(Dockable dockable)
ButtonDockAction
action
in interface ButtonDockAction
action
in class SimpleButtonAction
dockable
- The Dockable
which is associated with
this DockAction, and which shall be used for the current action.protected void bound(Dockable dockable)
AbstractStandardDockAction
AbstractStandardDockAction
when a Dockable
was bound to this action the first time.
bound
in class SimpleDockAction
dockable
- The Dockable that was not known to this action
before the method was invokedprotected void unbound(Dockable dockable)
AbstractStandardDockAction
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
.
unbound
in class SimpleDockAction
dockable
- The Dockable which will not by used in any way.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |