Interface CModeAreaPerspective
- All Known Subinterfaces:
CMaximizedModeAreaPerspective
public interface CModeAreaPerspective
Represents a
CStationPerspective in a LocationModeManagerPerspective.- Author:
- Benjamin Sigg
-
Method Summary
Modifier and TypeMethodDescriptionGets a unique identifier for this perspective.booleanisChild(PerspectiveDockable dockable) Tells whether the itemdockableis a direct child of this station and whetherdockableis in a mode that matches the mode that is represented by this area.booleanisChildLocation(DockableProperty location) Tells whetherlocationcould be the location of a child dockable of this area.
-
Method Details
-
getUniqueId
String getUniqueId()Gets a unique identifier for this perspective.- Returns:
- the unique identifier
-
isChild
Tells whether the itemdockableis a direct child of this station and whetherdockableis in a mode that matches the mode that is represented by this area.- Parameters:
dockable- some dockable that might be a child of this station- Returns:
trueifdockableis a child of this station and if the mode ofdockablematches the mode that is described by this object
-
isChildLocation
Tells whetherlocationcould be the location of a child dockable of this area.- Parameters:
location- the location of some dockable- Returns:
- whether
locationdescribes a valid location on this area
-