|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.mode.station.CSplitDockStationHandle
public class CSplitDockStationHandle
Combination of CMaximizedModeArea
, CNormalModeArea
and a
SplitDockStation
.
Nested Class Summary | |
---|---|
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 Summary | |
---|---|
CSplitDockStationHandle(CStation<CSplitDockStation> station,
CLocationModeManager manager)
Creates a new handle. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSplitDockStationHandle(CStation<CSplitDockStation> station, CLocationModeManager manager)
station
- the station to handlemanager
- the manager in whose realm this handle is usedMethod Detail |
---|
protected 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 station
IllegalStateException
- if dockable
already
is a child of this station.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |