public class FlapDockDirection extends SimpleMenuAction implements ListeningDockAction
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.listeners
BUTTON_CONTENT_FILTER
Constructor and Description |
---|
FlapDockDirection()
Creates the icon of the action, and sets the text and tooltip of the action.
|
Modifier and Type | Method and Description |
---|---|
void |
setController(DockController controller)
Called when a new controller has been set.
|
createView, getMenu, getMenu, setMenu, trigger
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
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bind, createView, trigger, unbind
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
public FlapDockDirection()
public void setController(DockController controller)
ListeningDockAction
setController
in interface ListeningDockAction
controller
- the new controller