bibliothek.gui.dock.common.location
Class CContentAreaCenterLocation

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.CContentAreaCenterLocation

public class CContentAreaCenterLocation
extends CSplitLocation

This location points to the center of a CContentArea.

Author:
Benjamin Sigg

Constructor Summary
CContentAreaCenterLocation(CBaseLocation base)
          Creates a new location
 
Method Summary
 String findRoot()
          Gets the name of the station this location belongs to.
 String toString()
           
 
Methods inherited from class bibliothek.gui.dock.common.location.CSplitLocation
aside, east, east, expandProperty, findMode, findProperty, north, north, rectangle, south, south, stack, stack, west, west
 
Methods inherited from class bibliothek.gui.dock.common.CLocation
base, base, external, findProperty, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CContentAreaCenterLocation

public CContentAreaCenterLocation(CBaseLocation base)
Creates a new location

Parameters:
base - the location describing a CContentArea, not null
Method Detail

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.

Specified by:
findRoot in class CLocation
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 Object