|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.toolbar.perspective.CToolbarAreaPerspective
public class CToolbarAreaPerspective
Represents a CToolbarArea
as perspective.
Constructor Summary | |
---|---|
CToolbarAreaPerspective(String id)
Creates a new perspective. |
Method Summary | |
---|---|
bibliothek.gui.dock.common.perspective.CDockablePerspective |
asDockable()
|
bibliothek.gui.dock.common.perspective.CStationPerspective |
asStation()
|
int |
getGroupCount()
Gets the number of groups this station currently has. |
bibliothek.gui.dock.common.perspective.CPerspective |
getPerspective()
|
bibliothek.util.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(bibliothek.gui.dock.common.perspective.CPerspective perspective)
|
void |
setRoot(boolean root)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CToolbarAreaPerspective(String id)
id
- the unique identifier of this stationMethod Detail |
---|
public 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 group
public 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 null
public CommonToolbarContainerDockPerspective intern()
intern
in interface bibliothek.gui.dock.common.perspective.CElementPerspective
public bibliothek.gui.dock.common.perspective.CDockablePerspective asDockable()
asDockable
in interface bibliothek.gui.dock.common.perspective.CElementPerspective
public bibliothek.gui.dock.common.perspective.CStationPerspective asStation()
asStation
in interface bibliothek.gui.dock.common.perspective.CElementPerspective
public String getUniqueId()
getUniqueId
in interface bibliothek.gui.dock.common.perspective.CStationPerspective
public bibliothek.util.Path getTypeId()
getTypeId
in interface bibliothek.gui.dock.common.perspective.CStationPerspective
public void setPerspective(bibliothek.gui.dock.common.perspective.CPerspective perspective)
setPerspective
in interface bibliothek.gui.dock.common.perspective.CStationPerspective
public bibliothek.gui.dock.common.perspective.CPerspective getPerspective()
getPerspective
in interface bibliothek.gui.dock.common.perspective.CStationPerspective
public boolean isWorkingArea()
isWorkingArea
in interface bibliothek.gui.dock.common.perspective.CStationPerspective
public boolean isRoot()
isRoot
in interface bibliothek.gui.dock.common.perspective.CStationPerspective
public void setRoot(boolean root)
setRoot
in interface bibliothek.gui.dock.common.perspective.CStationPerspective
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |