|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a data source for populating hierarchical data structures such as trees.
Field Summary | |
static String |
EXPANDABLE_PROPERTY
The "expandable" property. |
static String |
ICON_PROPERTY
The "icon" property. |
static String |
LABEL_PROPERTY
The "label" property. |
Method Summary | |
Object[] |
getChildren(ITreeNode node)
Get the children of a given node in the tree. |
Object |
getRoot()
Get the root object. |
Object |
getValueForProperty(ITreeNode node,
String property)
Get the value of an arbitrary property for a given node. |
Field Detail |
public static final String EXPANDABLE_PROPERTY
public static final String LABEL_PROPERTY
public static final String ICON_PROPERTY
Method Detail |
public Object getRoot()
public Object[] getChildren(ITreeNode node)
node
- The node that children are being requested for.ITreeNode
public Object getValueForProperty(ITreeNode node, String property)
ITreeNode
wrapper object is passed rather than the original
object so that state information about the object within the tree can be
determined.node
- The node.property
- The name of the property; one of the constants defined
above, or some arbitrary application-defined property.ITreeNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |