bibliothek.gui.dock.station.flap
Class FlapDockDirection
java.lang.Object
bibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.SimpleDockAction
bibliothek.gui.dock.action.actions.SimpleMenuAction
bibliothek.gui.dock.station.flap.FlapDockDirection
- All Implemented Interfaces:
- SharingStandardDockAction, DockAction, ListeningDockAction, MenuDockAction, StandardDockAction
public class FlapDockDirection
- extends SimpleMenuAction
- implements ListeningDockAction
This DockAction
is used as an action of a FlapDockStation
.
The action itself changes the direction in which a FlapDockStation
opens. This is done by calling the setAutoDirection
and the FlapDockStation.setDirection(Direction)
-methods.
- Author:
- Benjamin Sigg
Constructor Summary |
FlapDockDirection()
Creates the icon of the action, and sets the text and tooltip of the action. |
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 |
FlapDockDirection
public FlapDockDirection()
- Creates the icon of the action, and sets the text and tooltip of the action.
setController
public void setController(DockController controller)
- Description copied from interface:
ListeningDockAction
- Called when a new controller has been set.
- Specified by:
setController
in interface ListeningDockAction
- Parameters:
controller
- the new controller