public class VarNode
extends java.lang.Object
Constructor and Description |
---|
VarNode(DebugVar var)
Constructor.
|
VarNode(java.lang.String rootName)
Constructor for the root variable.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(VarNode child) |
void |
expand()
Expand the node.
|
java.util.List<VarNode> |
getChildren() |
DebugVar |
getVar() |
boolean |
isExpanded()
Return true if the node is expanded.
|
boolean |
isRoot()
Return true if this represents the root node.
|
java.lang.String |
toString()
Returns the string to be used to display this leaf in the JTree.
|
public VarNode(DebugVar var)
var
- the variablepublic VarNode(java.lang.String rootName)
rootName
- the root namepublic boolean isRoot()
public boolean isExpanded()
public void expand()
public java.lang.String toString()
toString
in class java.lang.Object
public DebugVar getVar()
public void addChild(VarNode child)
public java.util.List<VarNode> getChildren()
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence