public class ScreenFullscreenAction extends GroupedButtonDockAction<java.lang.Boolean> implements ListeningDockAction
DockAction
is mainly used by the ScreenDockStation
to allow it's children to go into fullscreen-mode.listeners
BUTTON_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 java.lang.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, createView
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerable, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
bound, 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, 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
isDropDownSelectable, isDropDownTriggerable
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
public ScreenFullscreenAction(ScreenDockStation station)
station
on
which the Dockables
will be made fullscreen.station
- the stationpublic void setController(DockController controller)
ListeningDockAction
setController
in interface ListeningDockAction
controller
- the new controllerpublic void action(Dockable dockable)
ButtonDockAction
action
in interface ButtonDockAction
dockable
- The Dockable
which is associated with
this DockAction, and which shall be used for the current action.protected java.lang.Boolean createGroupKey(Dockable dockable)
GroupedDockAction
dockable
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<java.lang.Boolean,SimpleButtonAction>
dockable
- The Dockable
whose group has to be
foundnull
is not a valid result.