bibliothek.gui.dock.common.perspective.mode
Interface CModeAreaPerspective

All Known Subinterfaces:
CMaximizedModeAreaPerspective

public interface CModeAreaPerspective

Represents a CStationPerspective in a LocationModeManagerPerspective.

Author:
Benjamin Sigg

Method Summary
 String getUniqueId()
          Gets a unique identifier for this perspective.
 boolean isChild(PerspectiveDockable dockable)
          Tells whether the item dockable is a direct child of this station and whether dockable is in a mode that matches the mode that is represented by this area.
 boolean isChildLocation(DockableProperty location)
          Tells whether location could be the location of a child dockable of this area.
 

Method Detail

getUniqueId

String getUniqueId()
Gets a unique identifier for this perspective.

Returns:
the unique identifier

isChild

boolean isChild(PerspectiveDockable dockable)
Tells whether the item dockable is a direct child of this station and whether dockable is 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:
true if dockable is a child of this station and if the mode of dockable matches the mode that is described by this object

isChildLocation

boolean isChildLocation(DockableProperty location)
Tells whether location could be the location of a child dockable of this area.

Parameters:
location - the location of some dockable
Returns:
whether location describes a valid location on this area