public class CStackPerspective extends StackDockPerspective implements ShrinkablePerspectiveStation
| Constructor and Description |
|---|
CStackPerspective()
Creates a new station.
|
CStackPerspective(CDockablePerspective[] children,
CDockablePerspective selection)
Creates a new station.
|
CStackPerspective(PerspectiveDockable[] children,
PerspectiveDockable selection)
Creates a new station.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
add, addPlaceholder, addPlaceholder, asDockable, asStation, canRead, getDockable, getDockableCount, getDockableProperty, getFactoryID, getItemCount, getParent, getPlaceholder, getPlaceholders, getSelection, indexOf, indexOf, insert, insertPlaceholder, insertPlaceholder, read, remove, remove, replace, setParent, setPlaceholders, setSelection, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDockable, getDockableCount, getDockableProperty, getPlaceholders, remove, replace, setPlaceholdersasDockable, asStation, getFactoryIDpublic CStackPerspective()
public CStackPerspective(PerspectiveDockable[] children, PerspectiveDockable selection)
children - the children of this perspectiveselection - the selected child, can be nullpublic CStackPerspective(CDockablePerspective[] children, CDockablePerspective selection)
children - the children of this stationselection - the selected child, can be nullpublic PerspectiveDockable shrink()
ShrinkablePerspectiveStationshrink in interface ShrinkablePerspectiveStationthis, which is either this, the only
child of this, or nullpublic void insert(int index,
CDockablePerspective dockable)
dockable at location index.index - the location where to insert dockabledockable - the element to insert, not nullpublic 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 removeCopyright © 2018. All rights reserved.