public class CContentPerspective extends Object
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 and Description |
|---|
CContentPerspective(CPerspective perspective,
String id)
Creates a new perspective.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 perspectiveprotected 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 stationIllegalStateException - if the station has the wrong typepublic String getId()
public CPerspective getPerspective()
CPerspective in whose realm this CContentPerspective works.nullpublic CGridPerspective getCenter()
public CMinimizePerspective getNorth()
public CMinimizePerspective getSouth()
public CMinimizePerspective getEast()
public CMinimizePerspective getWest()
Copyright © 2018. All rights reserved.