public static class SplitDockPerspective.Leaf extends SplitDockPerspective.Entry
Dockable.| Constructor and Description |
|---|
Leaf(PerspectiveDockable dockable,
Set<Path> placeholders,
PlaceholderMap placeholderMap,
long nodeId)
Creates a new leaf
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
asNode, delete, getNodeId, getParent, getPerspective, getPlaceholderMap, getPlaceholders, isAnchestor, replace, setParent, setPlaceholderMappublic 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 -1public 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.Copyright © 2017 Docking Frames. All rights reserved.