public class CToolbarAreaPerspective extends Object implements CStationPerspective
CToolbarArea as perspective.| Constructor and Description |
|---|
CToolbarAreaPerspective(String id)
Creates a new perspective.
|
| Modifier and Type | Method and Description |
|---|---|
CDockablePerspective |
asDockable() |
CStationPerspective |
asStation() |
int |
getGroupCount()
Gets the number of
groups this station currently has. |
CPerspective |
getPerspective() |
Path |
getTypeId() |
String |
getUniqueId() |
CToolbarGroupPerspective |
group(int index)
Gets or creates a group of toolbars at location
index. |
CToolbarGroupPerspective |
insert(int index)
Creates a new
CToolbarGroupPerspective and inserts the new group at index. |
CommonToolbarContainerDockPerspective |
intern() |
boolean |
isRoot() |
boolean |
isWorkingArea() |
void |
remove(CToolbarGroupPerspective group)
Removes
group from this station. |
void |
remove(int index)
Removes the group at location
index from this station. |
void |
setPerspective(CPerspective perspective) |
void |
setRoot(boolean root) |
public CToolbarAreaPerspective(String id)
id - the unique identifier of this stationpublic int getGroupCount()
groups this station currently has. This method
assumes that the client did not modify the ToolbarStrategy.public CToolbarGroupPerspective group(int index)
index.index - the index of an existing group, -1 or getGroupCount()index or null if the child at index has
the wrong type. A result of null can only happen if the client modified the ToolbarStrategy.public CToolbarGroupPerspective insert(int index)
CToolbarGroupPerspective and inserts the new group at index.index - the location of the new grouppublic void remove(int index)
index from this station.index - the index of the group to removepublic void remove(CToolbarGroupPerspective group)
group from this station.group - the group to remove, not nullpublic CommonToolbarContainerDockPerspective intern()
intern in interface CElementPerspectivepublic CDockablePerspective asDockable()
asDockable in interface CElementPerspectivepublic CStationPerspective asStation()
asStation in interface CElementPerspectivepublic String getUniqueId()
getUniqueId in interface CStationPerspectivepublic Path getTypeId()
getTypeId in interface CStationPerspectivepublic void setPerspective(CPerspective perspective)
setPerspective in interface CStationPerspectivepublic CPerspective getPerspective()
getPerspective in interface CStationPerspectivepublic boolean isWorkingArea()
isWorkingArea in interface CStationPerspectivepublic boolean isRoot()
isRoot in interface CStationPerspectivepublic void setRoot(boolean root)
setRoot in interface CStationPerspectiveCopyright © 2018. All rights reserved.