All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.TreeBranch

java.lang.Object
   |
   +----com.bulletproof.gui.TreeBranch

public class TreeBranch
extends Object
Class TreeBranch represents a item in a Tree.


Variable Index

 o actualValue
Actual value.
 o children
The children indexes represented as 2 bytes in the range 0-16384.
 o displayValue
Displayed value.
 o expanded
Expanded flag.
 o index
The index number for this branch.
 o parentIndex
The index number for parent of this branch.
 o selected
Selected flag.

Constructor Index

 o TreeBranch(char[])
Create a new list item.
 o TreeBranch(String, String, boolean, boolean, int, int)
Create a new list item.

Method Index

 o addChild(int)
 o getChildren()
 o toString()

Variables

 o displayValue
 public String displayValue
Displayed value.

 o actualValue
 public String actualValue
Actual value.

 o selected
 public boolean selected
Selected flag.

 o expanded
 public boolean expanded
Expanded flag.

 o index
 public int index
The index number for this branch.

 o parentIndex
 public int parentIndex
The index number for parent of this branch.

 o children
 public byte children[]
The children indexes represented as 2 bytes in the range 0-16384.

Constructors

 o TreeBranch
 public TreeBranch(String displayValue,
                   String actualValue,
                   boolean selected,
                   boolean expanded,
                   int index,
                   int parentIndex)
Create a new list item.

 o TreeBranch
 public TreeBranch(char entry[])
Create a new list item.

Methods

 o toString
 public String toString()
Overrides:
toString in class Object
 o getChildren
 public int[] getChildren()
 o addChild
 public void addChild(int childIndex)

All Packages  Class Hierarchy  This Package  Previous  Next  Index