|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.split.SplitDockPerspective.Entry
bibliothek.gui.dock.station.split.SplitDockPerspective.Leaf
public static class SplitDockPerspective.Leaf
A leaf in a tree, describes one Dockable.
| Constructor Summary | |
|---|---|
SplitDockPerspective.Leaf(PerspectiveDockable dockable,
Set<Path> placeholders,
PlaceholderMap placeholderMap,
long nodeId)
Creates a new leaf |
|
| Method Summary | |
|---|---|
SplitDockPerspective.Leaf |
asLeaf()
Returns this as leaf or null. |
PerspectiveDockable |
getDockable()
Gets the element which is represented by this leaf. |
void |
remove()
Sets the dockable of this entry to null and inserts the placeholder of the element. |
void |
setDockable(PerspectiveDockable dockable)
Exchanges the element that is represented by this perspective. |
| Methods inherited from class bibliothek.gui.dock.station.split.SplitDockPerspective.Entry |
|---|
asNode, delete, getNodeId, getParent, getPerspective, getPlaceholderMap, getPlaceholders, isAnchestor, replace, setParent, setPlaceholderMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplitDockPerspective.Leaf(PerspectiveDockable dockable,
Set<Path> placeholders,
PlaceholderMap placeholderMap,
long nodeId)
dockable - the element that is represented by this leafplaceholders - placeholders associated with this leafplaceholderMap - placeholder information of a child DockStationnodeId - the unique identifier of this node, can be -1| Method Detail |
|---|
public SplitDockPerspective.Leaf asLeaf()
SplitDockPerspective.Entrythis as leaf or null.
asLeaf in class SplitDockPerspective.Entrythis or nullpublic PerspectiveDockable getDockable()
nullpublic void setDockable(PerspectiveDockable dockable)
dockable - the new element, can be nullpublic void remove()
null and inserts the placeholder of the element. If there
are no placeholders, then SplitDockPerspective.Entry.delete() is called.SplitDockPerspective.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||