|
||||||||||
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. |
List |
getChildren()
|
String |
getDescription()
|
String |
getIdentifier()
Gets the identifier asociated with the TreeNode . |
String |
getType()
Gets the type of TreeNode . |
boolean |
isLeaf()
|
void |
setDescription(String description)
|
void |
setIdentifier(String identifier)
Sets the identifier associated with the TreeNode . |
void |
setLeaf(boolean leaf)
|
void |
setType(String type)
Sets the type of TreeNode . |
Method Detail |
---|
boolean isLeaf()
void setLeaf(boolean leaf)
List getChildren()
String getType()
TreeNode
.
void setType(String type)
TreeNode
.
type
- The node typeString getDescription()
void setDescription(String description)
void setIdentifier(String identifier)
TreeNode
.
identifier
- The identifierString getIdentifier()
TreeNode
.
int getChildCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |