|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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,
java.util.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, java.util.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 DockStation
nodeId
- the unique identifier of this node, can be -1Method Detail |
---|
public SplitDockPerspective.Leaf asLeaf()
SplitDockPerspective.Entry
this
as leaf or null
.
asLeaf
in class SplitDockPerspective.Entry
this
or null
public PerspectiveDockable getDockable()
null
public void setDockable(PerspectiveDockable dockable)
dockable
- the new element, can be null
public 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 |