public class CScreenDockStationHandle extends Object
ScreenDockStation and the CExternalizedModeArea interface.| Modifier and Type | Class and Description |
|---|---|
protected class |
CScreenDockStationHandle.External
Represents a
CScreenDockStationHandle as CExternalizedModeArea. |
protected class |
CScreenDockStationHandle.Maximal
A representation of
CScreenDockStationHandle as CMaximizedModeArea. |
| Constructor and Description |
|---|
CScreenDockStationHandle(CStation<CScreenDockStation> station,
CLocationModeManager manager)
Creates a new handle
|
| Modifier and Type | Method and Description |
|---|---|
CLocation |
getCLocation(Dockable dockable)
Gets a
CLocation describing the location of dockable on the station of this handle. |
CLocation |
getCLocation(Dockable dockable,
Location location)
Assuming dockable would be at location
location if it would be a child of this station,
returns the CLocation that matches location. |
CExternalizedModeArea |
getExternalizedModeArea()
Gets the representation of this as
CExternalizedModeArea. |
CMaximizedModeArea |
getMaximizedModeArea()
Gets the representation of this as
CMaximizedModeArea. |
public CScreenDockStationHandle(CStation<CScreenDockStation> station, CLocationModeManager manager)
station - the station which is handled by this handle, not nullmanager - the manager handling all modes, not nullpublic CExternalizedModeArea getExternalizedModeArea()
CExternalizedModeArea.public CMaximizedModeArea getMaximizedModeArea()
CMaximizedModeArea.public CLocation getCLocation(Dockable dockable)
CLocation describing the location of dockable on the station of this handle.dockable - some childpublic CLocation getCLocation(Dockable dockable, Location location)
location if it would be a child of this station,
returns the CLocation that matches location.dockable - some element which may or may not be a child of this stationlocation - the location dockable would have if it would be a child of this stationnull if location.getLocation() is not validCopyright © 2018. All rights reserved.