|
||||||||||
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.SegmentNode
public final class SegmentNode
This class represents segments in the navigation tree.
Segment
Constructor Summary | |
---|---|
SegmentNode(NavigationNode parent,
Segment segment)
Constructs a SegmentNode for the specified parent and
segment. |
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 segment. |
Segment |
getSegment()
Returns this node's associated Segment 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 SegmentNode(NavigationNode parent, Segment segment)
SegmentNode
for the specified parent and
segment.
parent
- this node's parentsegment
- the associated model, an instance of SegmentMethod 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 Segment getSegment()
NavigationNode.getModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |