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

Variable Index

 o bx
 o by
 o collapsed
 o height
 o needslayout
 o strwidth
 o width
 o x
 o y

Constructor Index

 o TreeNode()

Method Index

 o addChild(TreeNode)
 o escapeString(String)
 o formatValue(Object)
 o getChild(int)
 o getChildCount()
 o getField(String)
 o getFieldList()
 o getName()
 o getParent()
 o getType()
 o hashCode()
 o isChildOf(TreeNode)
 o isLeaf()
 o isParentOf(TreeNode)
 o print()
 o print(PrintStream)
 o print(PrintStream, String, String)
 o printFields(PrintStream, String)
 o removeChild(int)
 o removeChild(TreeNode)
 o removeParent()
 o setField(String, Object)
 o setName(String)

Variables

 o x
 public int x
 o y
 public int y
 o strwidth
 public int strwidth
 o bx
 public int bx
 o by
 public int by
 o width
 public int width
 o height
 public int height
 o needslayout
 public boolean needslayout
 o collapsed
 public boolean collapsed

Constructors

 o TreeNode
 public TreeNode()

Methods

 o hashCode
 public int hashCode()
Overrides:
hashCode in class Object
 o getName
 public final String getName()
 o setName
 public final void setName(String name)
 o getParent
 public final TreeNode getParent()
 o getChildCount
 public final int getChildCount()
 o getChild
 public final TreeNode getChild(int i)
 o isLeaf
 public final boolean isLeaf()
 o getFieldList
 public String[] getFieldList()
 o setField
 public void setField(String field,
                      Object value)
 o getField
 public Object getField(String field)
 o removeParent
 public final void removeParent()
 o addChild
 public final void addChild(TreeNode child)
 o removeChild
 public final void removeChild(TreeNode child)
 o removeChild
 public final void removeChild(int i)
 o isParentOf
 public final boolean isParentOf(TreeNode child)
 o isChildOf
 public final boolean isChildOf(TreeNode parent)
 o escapeString
 public static String escapeString(String str)
 o formatValue
 public static String formatValue(Object obj)
 o getType
 public String getType()
 o printFields
 public void printFields(PrintStream out,
                         String indent)
 o print
 public final void print(PrintStream out,
                         String indent,
                         String tabstop)
 o print
 public final void print(PrintStream out)
 o print
 public final void print()

All Packages  Class Hierarchy  This Package  Previous  Next  Index