|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.swfit.core.tree.TreeElement
|
+--com.swfit.core.tree.TreeBranch
Branch out the TreeElement into an object that can own.
| Fields inherited from class com.swfit.core.tree.TreeElement |
CODE, NUM_OWNED, OWNED, SEPARATOR |
| Constructor Summary | |
TreeBranch()
A TreeBranch with "" as name, will normally be a root. |
|
TreeBranch(java.lang.String name)
Build a TreeBranch with a given name. |
|
| Method Summary | |
TreeElement |
add(TreeElement te)
Add a TreeElement to the hashtable. |
TreeElement[] |
all()
Get all TreeElements from the hashtable unsorted |
boolean |
contains(java.lang.String name)
|
boolean |
contains(TreeElement te)
Check if the hashtable contains a certain TreeElement. |
TreeElement |
get(java.lang.String name)
Get a TreeElement from the hashtable. |
TreeBranch |
getBranch(java.lang.String name)
Get a TreeBranch from the hashtable. |
TreeBranch |
getBranch(java.lang.String[] names,
int i)
Get a TreeBranch from somewhere inside the structure |
TreeLeaf |
getLeaf(java.lang.String name)
Get a TreeLeaf from the hashtable. |
TreeLeaf |
getLeaf(java.lang.String[] names,
int i)
Get a TreeLeaf from somewhere inside the structure |
TreeElement[] |
ignoreCaseAll()
Get all TreeElements from the hashtable sorted on the name. |
TreeElement[] |
indexAll()
Get all TreeElements from the hashtable sorted on the index. |
java.lang.String[] |
indexAllNames()
Get all TreeElements from the hashtable sorted on the index. |
java.util.Enumeration |
names()
Get the enumeration of TreeElement names from the hashtable. |
| Methods inherited from class com.swfit.core.tree.TreeElement |
code, codeName, explainer, horizontal, index, name, owner, setExplainer, setHorizontal, setIndex, setOwner, toTreeBranch, toTreeElement, toTreeLeaf, treeName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeBranch()
public TreeBranch(java.lang.String name)
| Method Detail |
public final TreeElement add(TreeElement te)
public final TreeElement get(java.lang.String name)
public final TreeBranch getBranch(java.lang.String name)
public final TreeLeaf getLeaf(java.lang.String name)
public final java.util.Enumeration names()
public final TreeBranch getBranch(java.lang.String[] names,
int i)
public final TreeLeaf getLeaf(java.lang.String[] names,
int i)
public final boolean contains(TreeElement te)
public final boolean contains(java.lang.String name)
public final TreeElement[] all()
public final java.lang.String[] indexAllNames()
public final TreeElement[] indexAll()
public final TreeElement[] ignoreCaseAll()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||