bibliothek.gui.dock.toolbar.perspective
Class CToolbarContentPerspective

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

public class CToolbarContentPerspective
extends bibliothek.gui.dock.common.perspective.CContentPerspective

Represents a CToolbarContentArea as perspective.

Author:
Benjamin Sigg

Constructor Summary
CToolbarContentPerspective(bibliothek.gui.dock.common.perspective.CPerspective perspective, String id)
          Wrapps around perspective and represents the CToolbarContentArea with unique identifier id.
 
Method Summary
 CToolbarAreaPerspective getEastToolbar()
          Gets a perspective of the east CToolbarArea.
 CToolbarAreaPerspective getNorthToolbar()
          Gets a perspective of the north CToolbarArea.
 CToolbarAreaPerspective getSouthToolbar()
          Gets a perspective of the south CToolbarArea.
 CToolbarAreaPerspective getWestToolbar()
          Gets a perspective of the west CToolbarArea.
 
Methods inherited from class bibliothek.gui.dock.common.perspective.CContentPerspective
ensureType, getCenter, getEast, getId, getNorth, getPerspective, getSouth, getWest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CToolbarContentPerspective

public CToolbarContentPerspective(bibliothek.gui.dock.common.perspective.CPerspective perspective,
                                  String id)
Wrapps around perspective and represents the CToolbarContentArea with unique identifier id.

Parameters:
perspective - the source of all CStationPerspectives
id - the unique identifier of the CToolbarContentArea
Throws:
IllegalStateException - if one of the required CStationPerspectives is already set up and has the wrong type.
Method Detail

getNorthToolbar

public CToolbarAreaPerspective getNorthToolbar()
Gets a perspective of the north CToolbarArea.

Returns:
the area, not null

getSouthToolbar

public CToolbarAreaPerspective getSouthToolbar()
Gets a perspective of the south CToolbarArea.

Returns:
the area, not null

getEastToolbar

public CToolbarAreaPerspective getEastToolbar()
Gets a perspective of the east CToolbarArea.

Returns:
the area, not null

getWestToolbar

public CToolbarAreaPerspective getWestToolbar()
Gets a perspective of the west CToolbarArea.

Returns:
the area, not null