public class CSplitDockStationHandle extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
CSplitDockStationHandle.Maximal
Represents a
SplitDockStation as a CMaximizedModeArea . |
protected static class |
CSplitDockStationHandle.ModeAreaListenerWrapper
A wrapper for a
ModeAreaListener . |
protected class |
CSplitDockStationHandle.Normal
Represents the
SplitDockStation as CNormalModeArea . |
Constructor and Description |
---|
CSplitDockStationHandle(CStation<CSplitDockStation> station,
CLocationModeManager manager)
Creates a new handle.
|
Modifier and Type | Method and Description |
---|---|
protected void |
add(CSplitDockStationHandle.ModeAreaListenerWrapper listener)
Adds
listener to this handle, the listener will be invoked if the current
fullscreen-Dockable of the SplitDockStation changed. |
CMaximizedModeArea |
asMaximziedModeArea()
Returns this as
MaximizedModeArea |
CNormalModeArea |
asNormalModeArea()
Returns this as
NormalModeArea |
void |
dropAside(Dockable dockable)
Ensures that
dockable is a child of this
station. |
CStation<CSplitDockStation> |
getCStation()
Gets the
CStation which is managed by this handle. |
protected LocationMode |
getNormalMode()
Gets the mode which should be used to unmaximize children.
|
SplitDockStation |
getStation()
Gets the station which is managed by this handle.
|
protected void |
remove(CSplitDockStationHandle.ModeAreaListenerWrapper listener)
Removes
listener from this handle. |
public CSplitDockStationHandle(CStation<CSplitDockStation> station, CLocationModeManager manager)
station
- the station to handlemanager
- the manager in whose realm this handle is usedprotected void add(CSplitDockStationHandle.ModeAreaListenerWrapper listener)
listener
to this handle, the listener will be invoked if the current
fullscreen-Dockable of the SplitDockStation
changed.listener
- the new listenerprotected void remove(CSplitDockStationHandle.ModeAreaListenerWrapper listener)
listener
from this handle.listener
- the listener to removepublic SplitDockStation getStation()
public CStation<CSplitDockStation> getCStation()
CStation
which is managed by this handle.public CNormalModeArea asNormalModeArea()
NormalModeArea
this
public CMaximizedModeArea asMaximziedModeArea()
MaximizedModeArea
this
protected LocationMode getNormalMode()
public void dropAside(Dockable dockable)
dockable
is a child of this
station.dockable
- the element to drop, must not yet be a child of this stationIllegalStateException
- if dockable
already
is a child of this station.