|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeNode
Defines the requirements for an object that can be used as a tree node for
use in a UITreeData
component. (inspired by javax.swing.tree.TreeNode).
Method Summary | |
---|---|
int |
getChildCount()
Gets the number of children this node has. |
java.util.List |
getChildren()
|
java.lang.String |
getDescription()
|
java.lang.String |
getIdentifier()
Gets the identifier asociated with the TreeNode . |
java.lang.String |
getType()
Gets the type of TreeNode . |
boolean |
isLeaf()
|
void |
setDescription(java.lang.String description)
|
void |
setIdentifier(java.lang.String identifier)
Sets the identifier associated with the TreeNode . |
void |
setLeaf(boolean leaf)
|
void |
setType(java.lang.String type)
Sets the type of TreeNode . |
Method Detail |
---|
boolean isLeaf()
void setLeaf(boolean leaf)
java.util.List getChildren()
java.lang.String getType()
TreeNode
.
void setType(java.lang.String type)
TreeNode
.
type
- The node typejava.lang.String getDescription()
void setDescription(java.lang.String description)
void setIdentifier(java.lang.String identifier)
TreeNode
.
identifier
- The identifierjava.lang.String getIdentifier()
TreeNode
.
int getChildCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |