|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.split.SplitDockStationLayout.Entry
public abstract static class SplitDockStationLayout.Entry
An entry in a tree, either a node or a leaf.
| Constructor Summary | |
|---|---|
SplitDockStationLayout.Entry(Path[] placeholders,
PlaceholderMap placeholderMap,
long id)
Create a new entry |
|
| Method Summary | |
|---|---|
SplitDockStationLayout.Leaf |
asLeaf()
Returns this as leaf or null. |
SplitDockStationLayout.Node |
asNode()
Returns this as node or null. |
SplitDockPathProperty |
createPathProperty()
Creates a new path property which describes the location of this element. |
long |
getNodeId()
Gets the unique id of this node. |
SplitDockStationLayout.Node |
getParent()
Gets the parent of this entry, is null for the
root entry. |
PlaceholderMap |
getPlaceholderMap()
Gets the placeholder information of a potential child DockStation. |
Path[] |
getPlaceholders()
Gets all the placeholders that are associated with this entry. |
abstract boolean |
isVisible()
Whether this node or leaf is visible to the user. |
protected void |
setParent(SplitDockStationLayout.Node parent)
Sets the parent of this entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplitDockStationLayout.Entry(Path[] placeholders,
PlaceholderMap placeholderMap,
long id)
placeholders - the placeholders associated with this node or leafplaceholderMap - placeholder information of a child DockStationid - the unique id of this node or -1| Method Detail |
|---|
protected void setParent(SplitDockStationLayout.Node parent)
parent - the parentpublic SplitDockStationLayout.Node getParent()
null for the
root entry.
public long getNodeId()
public SplitDockStationLayout.Leaf asLeaf()
this as leaf or null.
this or nullpublic SplitDockStationLayout.Node asNode()
this as node or null.
this or nullpublic abstract boolean isVisible()
true if this represents some graphical element or has a visible childpublic SplitDockPathProperty createPathProperty()
public Path[] getPlaceholders()
public PlaceholderMap getPlaceholderMap()
DockStation.
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||