|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.javatest.util.HelpTree.Node
public static class HelpTree.Node
A node within a HelpTree. A node has a name, a description, and zero or more child nodes.
| Constructor Summary | |
|---|---|
HelpTree.Node(I18NResourceBundle i18n,
java.lang.String prefix)
Create a node, with no children. |
|
HelpTree.Node(I18NResourceBundle i18n,
java.lang.String prefix,
HelpTree.Node[] children)
Create a node, with given children. |
|
HelpTree.Node(I18NResourceBundle i18n,
java.lang.String prefix,
java.lang.String[] entries)
Create a node and its children. |
|
HelpTree.Node(java.lang.String name,
java.lang.String description)
Create a node, with no children. |
|
HelpTree.Node(java.lang.String name,
java.lang.String description,
HelpTree.Node[] children)
Create a node, with given children. |
|
| Method Summary | |
|---|---|
HelpTree.Node |
getChild(int i)
Get a specified child of this node. |
int |
getChildCount()
Get the number of children of this node. |
java.lang.String |
getDescription()
Get the description of this node. |
java.lang.String |
getName()
Get the name of this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelpTree.Node(java.lang.String name,
java.lang.String description)
name - the name for the nodedescription - the description for the node
public HelpTree.Node(java.lang.String name,
java.lang.String description,
HelpTree.Node[] children)
name - the name for the nodedescription - the description for the nodechildren - the child nodes for the node
public HelpTree.Node(I18NResourceBundle i18n,
java.lang.String prefix)
i18n - the resource bundle from which to obtain the
name and description for the node.prefix - the prefix for the names of the name and description
entries in the resource bundle.
public HelpTree.Node(I18NResourceBundle i18n,
java.lang.String prefix,
HelpTree.Node[] children)
i18n - the resource bundle from which to obtain the
name and description for the node.prefix - the prefix for the names of the name and description
entries in the resource bundle.children - the child nodes for this node
public HelpTree.Node(I18NResourceBundle i18n,
java.lang.String prefix,
java.lang.String[] entries)
i18n - the resource bundle from which to obtain the
name and description for the node.prefix - the prefix for the names of the name and description
entries in the resource bundle.entries - the array of entry names used to create
the child nodes.| Method Detail |
|---|
public final java.lang.String getName()
public final java.lang.String getDescription()
public int getChildCount()
public HelpTree.Node getChild(int i)
i - the index of the desired child
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||