All Packages Class Hierarchy This Package Previous Next Index
Class berkeley.cs.dmc.model.TreeNode
java.lang.Object
|
+----berkeley.cs.dmc.model.TreeNode
- public class TreeNode
- extends Object
-
bx
-
-
by
-
-
collapsed
-
-
height
-
-
needslayout
-
-
strwidth
-
-
width
-
-
x
-
-
y
-
-
TreeNode()
-
-
addChild(TreeNode)
-
-
escapeString(String)
-
-
formatValue(Object)
-
-
getChild(int)
-
-
getChildCount()
-
-
getField(String)
-
-
getFieldList()
-
-
getName()
-
-
getParent()
-
-
getType()
-
-
hashCode()
-
-
isChildOf(TreeNode)
-
-
isLeaf()
-
-
isParentOf(TreeNode)
-
-
print()
-
-
print(PrintStream)
-
-
print(PrintStream, String, String)
-
-
printFields(PrintStream, String)
-
-
removeChild(int)
-
-
removeChild(TreeNode)
-
-
removeParent()
-
-
setField(String, Object)
-
-
setName(String)
-
x
public int x
y
public int y
strwidth
public int strwidth
bx
public int bx
by
public int by
width
public int width
height
public int height
needslayout
public boolean needslayout
collapsed
public boolean collapsed
TreeNode
public TreeNode()
hashCode
public int hashCode()
- Overrides:
- hashCode in class Object
getName
public final String getName()
setName
public final void setName(String name)
getParent
public final TreeNode getParent()
getChildCount
public final int getChildCount()
getChild
public final TreeNode getChild(int i)
isLeaf
public final boolean isLeaf()
getFieldList
public String[] getFieldList()
setField
public void setField(String field,
Object value)
getField
public Object getField(String field)
removeParent
public final void removeParent()
addChild
public final void addChild(TreeNode child)
removeChild
public final void removeChild(TreeNode child)
removeChild
public final void removeChild(int i)
isParentOf
public final boolean isParentOf(TreeNode child)
isChildOf
public final boolean isChildOf(TreeNode parent)
escapeString
public static String escapeString(String str)
formatValue
public static String formatValue(Object obj)
getType
public String getType()
printFields
public void printFields(PrintStream out,
String indent)
print
public final void print(PrintStream out,
String indent,
String tabstop)
print
public final void print(PrintStream out)
print
public final void print()
All Packages Class Hierarchy This Package Previous Next Index