bibliothek.gui.dock.common.mode.station
Class CScreenDockStationHandle
java.lang.Object
bibliothek.gui.dock.facile.mode.station.ScreenDockStationHandle
bibliothek.gui.dock.common.mode.station.CScreenDockStationHandle
- All Implemented Interfaces:
- CExternalizedModeArea, CModeArea, ExternalizedModeArea, ModeArea, StationModeArea
public class CScreenDockStationHandle
- extends ScreenDockStationHandle
- implements CExternalizedModeArea
Connection between a ScreenDockStation
and the CExternalizedModeArea
interface.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CScreenDockStationHandle
public CScreenDockStationHandle(CStation<ScreenDockStation> station)
- Creates a new handle
- Parameters:
station
- the station which is handled by this handle
CScreenDockStationHandle
public CScreenDockStationHandle(String id,
ScreenDockStation station,
CLocation location)
- Creates a new handle
- Parameters:
id
- the unique identifier of this stationstation
- the station to handlelocation
- the location which represents station
getCLocation
public CLocation getCLocation(Dockable dockable)
- Description copied from interface:
CModeArea
- Assuming
dockable
is a child of this area, returns
the location of dockable
.
- Specified by:
getCLocation
in interface CModeArea
- Parameters:
dockable
- some child
- Returns:
- the location,
null
if not found
getCLocation
public CLocation getCLocation(Dockable dockable,
Location location)
- Description copied from interface:
CModeArea
- Assuming
dockable
would be at location location
if it would be a child of this station, returns the CLocation
that
matches location
.
- Specified by:
getCLocation
in interface CModeArea
- Parameters:
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 station
- Returns:
- the location,
null
if not found