|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.stack.StackDockPerspective bibliothek.gui.dock.common.perspective.CStackPerspective
public class CStackPerspective
This perspective represents a group of dockables.
Constructor Summary | |
---|---|
CStackPerspective()
Creates a new station. |
|
CStackPerspective(CDockablePerspective[] children,
CDockablePerspective selection)
Creates a new station. |
|
CStackPerspective(PerspectiveDockable[] children,
PerspectiveDockable selection)
Creates a new station. |
Method Summary | |
---|---|
void |
add(CDockablePerspective dockable)
Adds dockable at the end of the list of dockables. |
void |
insert(int index,
CDockablePerspective dockable)
Inserts dockable at location index . |
void |
remove(CDockablePerspective dockable)
Removes the element dockable from this station. |
PerspectiveDockable |
shrink()
Checks the number of children this perspective has. |
Methods inherited from class bibliothek.gui.dock.station.stack.StackDockPerspective |
---|
add, addPlaceholder, asDockable, asStation, getDockable, getDockableCount, getDockableProperty, getFactoryID, getParent, getPlaceholder, getPlaceholders, getSelection, indexOf, insert, insertPlaceholder, read, remove, remove, replace, setParent, setPlaceholders, setSelection, toMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.perspective.PerspectiveStation |
---|
getDockable, getDockableCount, getDockableProperty, getPlaceholders, remove, replace, setPlaceholders |
Methods inherited from interface bibliothek.gui.dock.perspective.PerspectiveElement |
---|
asDockable, asStation, getFactoryID |
Constructor Detail |
---|
public CStackPerspective()
public CStackPerspective(PerspectiveDockable[] children, PerspectiveDockable selection)
children
- the children of this perspectiveselection
- the selected child, can be null
public CStackPerspective(CDockablePerspective[] children, CDockablePerspective selection)
children
- the children of this stationselection
- the selected child, can be null
Method Detail |
---|
public PerspectiveDockable shrink()
ShrinkablePerspectiveStation
shrink
in interface ShrinkablePerspectiveStation
this
, which is either this
, the only
child of this
, or null
public void insert(int index, CDockablePerspective dockable)
dockable
at location index
.
index
- the location where to insert dockable
dockable
- the element to insert, not null
public void add(CDockablePerspective dockable)
dockable
at the end of the list of dockables.
dockable
- the element to add at the endpublic void remove(CDockablePerspective dockable)
dockable
from this station.
dockable
- the element to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |