Package editor.debugger
Class VarTree
- java.lang.Object
-
- editor.debugger.VarTree
-
- All Implemented Interfaces:
MutableTreeNode
,TreeNode
public class VarTree extends Object implements MutableTreeNode
-
-
Constructor Summary
Constructors Constructor Description VarTree(DebugPanel.StackFrameRef ref)
VarTree(String name, String type, com.sun.jdi.Value value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addViaModel(MutableTreeNode child)
Enumeration
children()
boolean
getAllowsChildren()
TreeNode
getChildAt(int childIndex)
int
getChildCount()
List<VarTree>
getChildren()
Icon
getIcon()
int
getIndex(TreeNode node)
String
getName()
VarTree
getParent()
TreePath
getPath()
JTree
getTree()
String
getType()
com.sun.jdi.Value
getValue()
static boolean
hasSuperClass(com.sun.jdi.ReferenceType referenceType, String typeName)
void
insert(MutableTreeNode child)
void
insert(MutableTreeNode child, int index)
void
insertViaModel(MutableTreeNode child, int index)
boolean
isLeaf()
boolean
isRoot()
boolean
isTerminal()
void
remove(int index)
void
remove(MutableTreeNode node)
void
removeFromParent()
void
select()
void
setParent(MutableTreeNode newParent)
void
setUserObject(Object object)
String
toString()
-
-
-
Constructor Detail
-
VarTree
public VarTree(DebugPanel.StackFrameRef ref)
-
-
Method Detail
-
getName
public String getName()
-
getType
public String getType()
-
getValue
public com.sun.jdi.Value getValue()
-
isTerminal
public boolean isTerminal()
-
isRoot
public boolean isRoot()
-
insert
public void insert(MutableTreeNode child)
-
insert
public void insert(MutableTreeNode child, int index)
- Specified by:
insert
in interfaceMutableTreeNode
-
addViaModel
public void addViaModel(MutableTreeNode child)
-
insertViaModel
public void insertViaModel(MutableTreeNode child, int index)
-
remove
public void remove(int index)
- Specified by:
remove
in interfaceMutableTreeNode
-
remove
public void remove(MutableTreeNode node)
- Specified by:
remove
in interfaceMutableTreeNode
-
setUserObject
public void setUserObject(Object object)
- Specified by:
setUserObject
in interfaceMutableTreeNode
-
removeFromParent
public void removeFromParent()
- Specified by:
removeFromParent
in interfaceMutableTreeNode
-
setParent
public void setParent(MutableTreeNode newParent)
- Specified by:
setParent
in interfaceMutableTreeNode
-
getChildAt
public TreeNode getChildAt(int childIndex)
- Specified by:
getChildAt
in interfaceTreeNode
-
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interfaceTreeNode
-
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interfaceTreeNode
-
children
public Enumeration children()
-
select
public void select()
-
getPath
public TreePath getPath()
-
getIcon
public Icon getIcon()
-
getTree
public JTree getTree()
-
hasSuperClass
public static boolean hasSuperClass(com.sun.jdi.ReferenceType referenceType, String typeName)
-
-