|
||||||||||
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.DockFrontend.Hider
@EclipseTabDockAction public class DockFrontend.Hider
An object which is action and ActionGuard
at the same time. The
action is always to invoke hide
of
the enclosing a DockFrontend
. The guard reacts on all
Dockables
which are known to the enclosing frontend.
Constructor Summary | |
---|---|
DockFrontend.Hider()
Creates a new action/guard. |
Method Summary | |
---|---|
void |
action(Dockable dockable)
Invoked when this action is triggered by the user. |
DockActionSource |
getSource(Dockable dockable)
Gets a list of actions for the Dockable |
void |
iconChanged(java.lang.String key,
javax.swing.Icon icon)
|
boolean |
react(Dockable dockable)
Tests the given Dockable and tells whether this
ActionGuard is interested in it and wants to add some additional
actions to it, or if this guard
is not made for the dockable . |
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 |
---|
bound, getAccelerator, getDisabledIcon, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setText, setTooltip, trigger, unbound |
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 |
---|
public DockFrontend.Hider()
Method Detail |
---|
public void iconChanged(java.lang.String key, javax.swing.Icon icon)
public DockActionSource getSource(Dockable dockable)
ActionGuard
Dockable
getSource
in interface ActionGuard
dockable
- The Dockable
for which ActionGuard.react(Dockable)
is true
dockable
.public boolean react(Dockable dockable)
ActionGuard
Dockable
and tells whether this
ActionGuard is interested in it and wants to add some additional
actions
to it, or if this guard
is not made for the dockable
.
react
in interface ActionGuard
dockable
- The Dockable
to test
true
if the ActionGuard.getSource(Dockable)
-method
should be invoked, false
otherwisepublic 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |