|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.perspective.CContentPerspective
public class CContentPerspective
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.
Constructor Summary | |
---|---|
CContentPerspective(CPerspective perspective,
String id)
Creates a new perspective. |
Method Summary | |
---|---|
protected void |
ensureType(String id,
Class<?> type)
Searches the CStationPerspective with unique identifier id and makes sure the
station is either null or of type type . |
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. |
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. |
CPerspective |
getPerspective()
Gets the CPerspective in whose realm this CContentPerspective works. |
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 |
---|
public CContentPerspective(CPerspective perspective, String id)
CPerspective.getContentArea()
to obtain
a CContentPerspective
.
perspective
- a map containing the stations which are used by this perspectiveid
- the unique identifier of this perspectiveMethod Detail |
---|
protected void ensureType(String id, Class<?> type)
CStationPerspective
with unique identifier id
and makes sure the
station is either null
or of type type
.
id
- the unique identifier of the stationtype
- the type of the station
IllegalStateException
- if the station has the wrong typepublic String getId()
public CPerspective getPerspective()
CPerspective
in whose realm this CContentPerspective
works.
null
public CGridPerspective getCenter()
public CMinimizePerspective getNorth()
public CMinimizePerspective getSouth()
public CMinimizePerspective getEast()
public CMinimizePerspective getWest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |