bibliothek.gui.dock.common.location
Class CMinimizedLocation

java.lang.Object
  extended by bibliothek.gui.dock.common.CLocation
      extended by bibliothek.gui.dock.common.location.CFlapLocation
          extended by bibliothek.gui.dock.common.location.CMinimizedLocation

public class CMinimizedLocation
extends CFlapLocation

A location aiming at minimized elements.

Author:
Benjamin Sigg

Constructor Summary
CMinimizedLocation(CBaseLocation parent, Side side)
          Creates a new location.
 
Method Summary
 ExtendedMode findMode()
          Gets the mode this location represents.
 java.lang.String findRoot()
          Gets the name of the station this location belongs to.
 Side getSide()
          Gets the side of the CContentArea where this minimized-location points to.
 java.lang.String toString()
           
 
Methods inherited from class bibliothek.gui.dock.common.location.CFlapLocation
append, aside, findProperty, getParent, insert
 
Methods inherited from class bibliothek.gui.dock.common.CLocation
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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 java.lang.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 java.lang.String toString()
Overrides:
toString in class CFlapLocation