|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
org.nees.util.chef.HierarchicalDisplayList
| Field Summary |
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
HierarchicalDisplayList()
|
|
| Method Summary | |
void |
close(int position)
Close the item with the given index |
boolean |
contains(java.lang.Object o)
Is the application-specific object in question in this list? |
HierarchicalDisplayItem |
getItem(int i)
|
HierarchicalDisplayItem[] |
getItems()
|
int |
indexOf(java.lang.Object o)
Return the list index of an application-specific object |
void |
open(int position)
Open the item at the given index |
int |
parentIndexOf(int index)
Return the index of the parent item of the given item. |
void |
removeItem(int index)
Remove an item, and its children, if it's open. |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public HierarchicalDisplayList()
| Method Detail |
public HierarchicalDisplayItem getItem(int i)
public HierarchicalDisplayItem[] getItems()
public void open(int position)
position - the index of the item to openpublic void close(int position)
position - the index of the item to closepublic boolean contains(java.lang.Object o)
public int indexOf(java.lang.Object o)
public void removeItem(int index)
index - the index of the item to remove.public int parentIndexOf(int index)
index - the index of the item to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||