public interface StationModeArea extends ModeArea
DockStation which can be accessed
through Modes.| Modifier and Type | Method and Description |
|---|---|
DockableProperty |
getLocation(Dockable child)
Gets the location of
dockable which is a child
of this station. |
boolean |
setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set)
Sets the location of
dockable to location
and tries to ensure that dockable is a child of this station. |
addModeAreaListener, autoDefaultArea, getStation, getUniqueId, isChild, isLocationRoot, removeModeAreaListener, setController, setModeDockableProperty getLocation(Dockable child)
dockable which is a child
of this station.child - the childnullboolean setLocation(Dockable dockable, DockableProperty location, AffectedSet set)
dockable to location
and tries to ensure that dockable is a child of this station.dockable, for example because
a DockAcceptance does not allow the dockable to be moved. In such cases false is
returned.dockable - the new or old childlocation - the new location, may be nullset - this method has to store all Dockables which might have changed their
mode in the set.true if dockable is now a child of this StationModeArea, false if notCopyright © 2018. All rights reserved.