|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.skeleton.model.node.AbstractTreeNode
com.jgoodies.skeleton.model.node.ShaftNode
public final class ShaftNode
This class represents shafts in the navigation tree.
Shaft
Constructor Summary | |
---|---|
ShaftNode(NavigationNode parent,
Shaft shaft)
Constructs a ShaftNode for the given parent and shaft. |
Method Summary | |
---|---|
Icon |
getIcon(boolean sel)
Returns this node's icon, ignores the selection. |
String |
getName()
Returns this node's name, the identifier of the associated shaft. |
Shaft |
getShaft()
Returns this node's associated Shaft instance. |
Methods inherited from class com.jgoodies.skeleton.model.node.AbstractTreeNode |
---|
add, children, getAllowsChildren, getChildAt, getChildCount, getIndex, getModel, getParent, isLeaf, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ShaftNode(NavigationNode parent, Shaft shaft)
ShaftNode
for the given parent and shaft.
parent
- this node's parentshaft
- the associated model, an instance of ShaftMethod Detail |
---|
public String getName()
getName
in interface NavigationNode
getName
in class AbstractTreeNode
public Icon getIcon(boolean sel)
getIcon
in interface NavigationNode
getIcon
in class AbstractTreeNode
public Shaft getShaft()
NavigationNode.getModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |