bibliothek.gui.dock.common.perspective
Class CContentPerspective

java.lang.Object
  extended by bibliothek.gui.dock.common.perspective.CContentPerspective

public class CContentPerspective
extends java.lang.Object

A representation of a CContentArea. Please note that CContentPerspective is only a wrapper around a CPerspective, two CContentPerspective represent the same CContentArea if they have the same identifier.

Author:
Benjamin Sigg

Constructor Summary
CContentPerspective(CPerspective perspective, java.lang.String id)
          Creates a new perspective.
 
Method Summary
 CGridPerspective getCenter()
          Gets the station that is shown in the middle of the content-area.
 CMinimizePerspective getEast()
          Gets the station that is shown at the east side of the content-area.
 java.lang.String getId()
          Gets the unique identifier of this perspective
 CMinimizePerspective getNorth()
          Gets the station that is shown at the north side of the content-area.
 CMinimizePerspective getSouth()
          Gets the station that is shown at the south side of the content-area.
 CMinimizePerspective getWest()
          Gets the station that is shown at the west side of the content-area.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CContentPerspective

public CContentPerspective(CPerspective perspective,
                           java.lang.String id)
Creates a new perspective. Clients should use CPerspective.getContentArea() to obtain a CContentPerspective.

Parameters:
perspective - a map containing the stations which are used by this perspective
id - the unique identifier of this perspective
Method Detail

getId

public java.lang.String getId()
Gets the unique identifier of this perspective

Returns:
the unique identifier

getCenter

public CGridPerspective getCenter()
Gets the station that is shown in the middle of the content-area.

Returns:
the center

getNorth

public CMinimizePerspective getNorth()
Gets the station that is shown at the north side of the content-area.

Returns:
the minimize-area at the top side

getSouth

public CMinimizePerspective getSouth()
Gets the station that is shown at the south side of the content-area.

Returns:
the minimize-area at the bottom side

getEast

public CMinimizePerspective getEast()
Gets the station that is shown at the east side of the content-area.

Returns:
the minimize-area at the right side

getWest

public CMinimizePerspective getWest()
Gets the station that is shown at the west side of the content-area.

Returns:
the minimize-area at the left side