bibliothek.gui.dock.common.location
Class CGridAreaLocation

java.lang.Object
  extended by bibliothek.gui.dock.common.CLocation
      extended by bibliothek.gui.dock.common.location.CSplitLocation
          extended by bibliothek.gui.dock.common.location.CGridAreaLocation

public class CGridAreaLocation
extends CSplitLocation

A location that represents a CGridArea.

Author:
Benjamin Sigg

Constructor Summary
CGridAreaLocation(CGridArea area)
          Creates the new location
 
Method Summary
 String findRoot()
          Gets the name of the station this location belongs to.
 CGridArea getArea()
          Gets the area which is represented by this location.
 String toString()
           
 
Methods inherited from class bibliothek.gui.dock.common.location.CSplitLocation
aside, east, east, findMode, findProperty, getParent, north, north, rectangle, south, south, stack, stack, west, west
 
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

CGridAreaLocation

public CGridAreaLocation(CGridArea area)
Creates the new location

Parameters:
area - the grid area which is represented by this location
Method Detail

getArea

public CGridArea getArea()
Gets the area which is represented by this location.

Returns:
the area, not 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 CSplitLocation
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 CSplitLocation