public class ScreenFullscreenAction extends GroupedButtonDockAction<Boolean> implements ListeningDockAction
DockAction is mainly used by the ScreenDockStation
to allow it's children to go into fullscreen-mode.listenersBUTTON_CONTENT_FILTER| Constructor and Description |
|---|
ScreenFullscreenAction(ScreenDockStation station)
Constructs the action and sets the
station on
which the Dockables will be made fullscreen. |
| Modifier and Type | Method and Description |
|---|---|
void |
action(Dockable dockable)
Invoked when this action is triggered by the user.
|
protected Boolean |
createGroupKey(Dockable dockable)
Calculates the name of the group to which the
dockable
should be added.Every Dockable is member of one group. |
void |
setController(DockController controller)
Called when a new controller has been set.
|
createGroup, createViewisDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerable, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedbound, ensureGroup, getAccelerator, getDisabledIcon, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getGenerator, getGroup, getGroup, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, groupExists, isEnabled, isEnabled, isKnown, isRemoveEmptyGroups, removeGroup, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setGenerator, setGroup, setIcon, setIcon, setRemoveEmptyGroups, setText, setTooltip, trigger, unboundaddDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, createView, trigger, unbindisDropDownSelectable, isDropDownTriggerableaddDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListenerpublic ScreenFullscreenAction(ScreenDockStation station)
station on
which the Dockables will be made fullscreen.station - the stationpublic void setController(DockController controller)
ListeningDockActionsetController in interface ListeningDockActioncontroller - the new controllerpublic void action(Dockable dockable)
ButtonDockActionaction in interface ButtonDockActiondockable - The Dockable which is associated with
this DockAction, and which shall be used for the current action.protected Boolean createGroupKey(Dockable dockable)
GroupedDockActiondockable
should be added.Dockable is member of one group. The membership
determines text, icon, etc. for the dockable. Whenever a
dockable is bound to this action,
the group will be determined by this method. Later on, the group
can be changed by the method setGroup.generator of
this action.createGroupKey in class GroupedDockAction<Boolean,SimpleButtonAction>dockable - The Dockable whose group has to be
foundnull is not a valid result.Copyright © 2017 Docking Frames. All rights reserved.