|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
Represents a node in a tree.
Method Summary | |
---|---|
Node[] |
getChildren()
returns the child nodes of this node, represented as objects. |
org.eclipse.swt.graphics.Image |
getImage()
returns the image that should be shown for this node. |
java.lang.String |
getName()
the text label for this node. |
Node |
getParent()
the parent node of this node. |
IClass |
getType()
returns the Class object associated with this node. |
IObject |
getValue()
the underlying value for this node. |
java.lang.String |
getValueAsString()
a textual representation of the value. |
boolean |
hasChildren()
|
void |
setParent(Node parent)
sets the parent of this node to be parent . |
Method Detail |
---|
java.lang.String getName()
IObject getValue()
java.lang.String getValueAsString()
Node getParent()
void setParent(Node parent)
parent
.
boolean hasChildren()
true
if this node has children, false
otherwise.Node[] getChildren()
org.eclipse.swt.graphics.Image getImage()
IClass getType()
Class
object associated with this node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |