Package editor.debugger
Class VarTree
java.lang.Object
editor.debugger.VarTree
- All Implemented Interfaces:
MutableTreeNode
,TreeNode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addViaModel
(MutableTreeNode child) children()
private void
expand()
private Icon
findIcon()
boolean
getChildAt
(int childIndex) int
getIcon()
int
private MessagesPanel
getName()
getPath()
getTree()
getType()
com.sun.jdi.Value
getValue()
(package private) static ValueKind
getValueKind
(com.sun.jdi.Value value) 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
void
remove
(int index) void
remove
(MutableTreeNode node) void
void
select()
void
setParent
(MutableTreeNode newParent) void
setUserObject
(Object object) private void
showArrayElements
(com.sun.jdi.ArrayReference ref) private void
showFields
(com.sun.jdi.ObjectReference ref, com.sun.jdi.ReferenceType type) private void
showValue
(com.sun.jdi.Value value) toString()
-
Field Details
-
_name
-
_type
-
_value
private final com.sun.jdi.Value _value -
_parent
-
_children
-
-
Constructor Details
-
VarTree
-
VarTree
-
VarTree
-
-
Method Details
-
getName
-
getType
-
getValue
public com.sun.jdi.Value getValue() -
expand
private void expand() -
showValue
private void showValue(com.sun.jdi.Value value) -
getValueKind
-
showFields
private void showFields(com.sun.jdi.ObjectReference ref, com.sun.jdi.ReferenceType type) -
showArrayElements
private void showArrayElements(com.sun.jdi.ArrayReference ref) -
isTerminal
public boolean isTerminal() -
isRoot
public boolean isRoot() -
getChildren
-
insert
-
insert
- Specified by:
insert
in interfaceMutableTreeNode
-
addViaModel
-
insertViaModel
-
remove
public void remove(int index) - Specified by:
remove
in interfaceMutableTreeNode
-
remove
- Specified by:
remove
in interfaceMutableTreeNode
-
setUserObject
- Specified by:
setUserObject
in interfaceMutableTreeNode
-
removeFromParent
public void removeFromParent()- Specified by:
removeFromParent
in interfaceMutableTreeNode
-
setParent
- Specified by:
setParent
in interfaceMutableTreeNode
-
getChildAt
- Specified by:
getChildAt
in interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceTreeNode
-
getParent
-
getIndex
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildren
in interfaceTreeNode
-
isLeaf
public boolean isLeaf() -
children
-
toString
-
select
public void select() -
getPath
-
makePath
-
getMessagesPanel
-
getIcon
-
findIcon
-
getTree
-
hasSuperClass
-