Interface CModeAreaPerspective

All Known Subinterfaces:
CMaximizedModeAreaPerspective

public interface CModeAreaPerspective
Author:
Benjamin Sigg
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a unique identifier for this perspective.
    boolean
    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
    Tells whether location could 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

      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