public class CFlapDockStationHandle extends FlapDockStationHandle implements CMinimizedModeArea
FlapDockStation
and CModeArea
.Constructor and Description |
---|
CFlapDockStationHandle(CStation<CFlapDockStation> station)
Creates a new handle
|
CFlapDockStationHandle(String id,
CFlapDockStation station,
CLocation location)
Creates a new handle
|
Modifier and Type | Method and Description |
---|---|
CLocation |
getCLocation(Dockable dockable)
Assuming
dockable is a child of this area, returns
the location of dockable . |
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 . |
addModeAreaListener, autoDefaultArea, getLocation, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, respectWorkingAreas, setController, setLocation, setMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation, setLocation
addModeAreaListener, autoDefaultArea, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, setController, setMode
respectWorkingAreas
public CFlapDockStationHandle(CStation<CFlapDockStation> station)
station
- the station which is handled by this handlepublic CFlapDockStationHandle(String id, CFlapDockStation station, CLocation location)
id
- the unique identifier of this stationstation
- the station to handlelocation
- the location which represents station
public CLocation getCLocation(Dockable dockable)
CModeArea
dockable
is a child of this area, returns
the location of dockable
.getCLocation
in interface CModeArea
dockable
- some childnull
if not foundpublic CLocation getCLocation(Dockable dockable, Location location)
CModeArea
dockable
would be at location location
if it would be a child of this station, returns the CLocation
that
matches location
.getCLocation
in interface CModeArea
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 not found