|
||||||||||
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.DescriptionNode
public final class DescriptionNode
This class represents the project description in the navigation tree.
Description
Constructor Summary | |
---|---|
DescriptionNode(NavigationNode parent,
Description description)
Constructs a DescriptionNode for the given parent and
description. |
Method Summary | |
---|---|
Description |
getDescription()
Returns this node's associated Description instance. |
Icon |
getIcon(boolean sel)
Returns this node's icon, ignores the selection. |
String |
getName()
Returns this node's name, a constant requested from the global resource repository. |
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 DescriptionNode(NavigationNode parent, Description description)
DescriptionNode
for the given parent and
description.
parent
- this node's parentdescription
- the associated model, a description instanceMethod 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
sel
- true for selected node, false for deselected
public Description getDescription()
NavigationNode.getModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |