Class CSplitDockStationHandle
java.lang.Object
bibliothek.gui.dock.common.mode.station.CSplitDockStationHandle
- Direct Known Subclasses:
ExternalizedCSplitDockStationHandler
- Author:
- Benjamin Sigg
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classRepresents aSplitDockStationas aCMaximizedModeArea.protected static classA wrapper for aModeAreaListener.protected classRepresents theSplitDockStationasCNormalModeArea. -
Constructor Summary
ConstructorsConstructorDescriptionCSplitDockStationHandle(CStation<CSplitDockStation> station, CLocationModeManager manager) Creates a new handle. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAddslistenerto this handle, the listener will be invoked if the current fullscreen-Dockable of theSplitDockStationchanged.Returns this asMaximizedModeAreaReturns this asNormalModeAreavoidEnsures thatdockableis a child of this station.Gets theCStationwhich is managed by this handle.protected LocationModeGets the mode which should be used to unmaximize children.Gets the station which is managed by this handle.protected voidRemoveslistenerfrom this handle.
-
Constructor Details
-
CSplitDockStationHandle
Creates a new handle.- Parameters:
station- the station to handlemanager- the manager in whose realm this handle is used
-
-
Method Details
-
add
Addslistenerto this handle, the listener will be invoked if the current fullscreen-Dockable of theSplitDockStationchanged.- Parameters:
listener- the new listener
-
remove
Removeslistenerfrom this handle.- Parameters:
listener- the listener to remove
-
getStation
Gets the station which is managed by this handle.- Returns:
- the station
-
getCStation
Gets theCStationwhich is managed by this handle.- Returns:
- the station
-
asNormalModeArea
Returns this asNormalModeArea- Returns:
- a representation of
this
-
asMaximziedModeArea
Returns this asMaximizedModeArea- Returns:
- a representation of
this
-
getNormalMode
Gets the mode which should be used to unmaximize children.- Returns:
- the mode to unmaximize children
-
dropAside
Ensures thatdockableis a child of this station.- Parameters:
dockable- the element to drop, must not yet be a child of this station- Throws:
IllegalStateException- ifdockablealready is a child of this station.
-