|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.ebob.internal.inspect.AbstractNode
edu.wpi.ebob.internal.inspect.ReturnValueNode
public class ReturnValueNode
A Return value node represents an object that is returned from a computation, which can be unnamed.
Field Summary | |
---|---|
private boolean |
hasCheckedForChildren
|
private IObject |
obj
|
private IClass |
type
|
Fields inherited from class edu.wpi.ebob.internal.inspect.AbstractNode |
---|
children |
Constructor Summary | |
---|---|
ReturnValueNode(IClass type,
IObject obj)
|
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. |
IClass |
getType()
returns the Class object associated with this node. |
IObject |
getValue()
the underlying value for this node. |
java.lang.String |
getValueAsString()
returns the toString() of Node.getValue() . |
boolean |
hasChildren()
|
Methods inherited from class edu.wpi.ebob.internal.inspect.AbstractNode |
---|
addChild, getParent, setParent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private IObject obj
private IClass type
private boolean hasCheckedForChildren
Constructor Detail |
---|
public ReturnValueNode(IClass type, IObject obj)
Method Detail |
---|
public java.lang.String getName()
Node
Node.getName()
public IObject getValue()
Node
Node.getValue()
public java.lang.String getValueAsString()
AbstractNode
Node.getValue()
.
getValueAsString
in interface Node
getValueAsString
in class AbstractNode
Node.getValueAsString()
public IClass getType()
Node
Class
object associated with this node.
Node.getType()
public Node[] getChildren()
Node
getChildren
in interface Node
getChildren
in class AbstractNode
Node.getChildren()
public boolean hasChildren()
hasChildren
in interface Node
hasChildren
in class AbstractNode
true
if the object is non-null and any of the
following are true:
Node.hasChildren()
public org.eclipse.swt.graphics.Image getImage()
Node
getImage
in interface Node
getImage
in class AbstractNode
null
Node.getImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |