public interface CModeArea extends ModeArea
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 . |
boolean |
respectWorkingAreas()
Tells whether children of this area have to respect the settings for
CWorkingArea s. |
addModeAreaListener, autoDefaultArea, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, setController, setMode
CLocation getCLocation(Dockable dockable)
dockable
is a child of this area, returns
the location of dockable
.dockable
- some childnull
if not foundCLocation getCLocation(Dockable dockable, Location location)
dockable
would be at 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 not foundboolean respectWorkingAreas()
CWorkingArea
s.