Class CMinimizedLocation


public class CMinimizedLocation extends CFlapLocation
A location aiming at minimized elements.
Author:
Benjamin Sigg
  • Constructor Details

    • CMinimizedLocation

      public CMinimizedLocation(CBaseLocation parent, Side side)
      Creates a new location.
      Parameters:
      parent - the location describing where the "minimized-areas" are
      side - the side this location is aiming at.
  • Method Details

    • getSide

      public Side getSide()
      Gets the side of the CContentArea where this minimized-location points to.
      Returns:
      the side
    • findMode

      public ExtendedMode findMode()
      Description copied from class: CLocation
      Gets the mode this location represents.
      Overrides:
      findMode in class CFlapLocation
      Returns:
      the mode or null
    • findRoot

      public String findRoot()
      Description copied from class: CLocation
      Gets the name of the station this location belongs to. This can be the id of any CStation.
      Overrides:
      findRoot in class CFlapLocation
      Returns:
      the name of the station or null if this location does not have enough information to find the root
    • toString

      public String toString()
      Overrides:
      toString in class CFlapLocation