|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.gui.dbetree.ValueNode
| Constructor Summary | |
ValueNode(java.lang.Object value,
java.util.List properties,
Node parent)
ValueNode Constructor. |
|
| Method Summary | |
boolean |
add(DBElement element)
Adds the given DBElement to this value node tree. |
void |
addNotify(javax.swing.event.TreeModelEvent event)
|
java.util.Iterator |
children()
|
boolean |
getAllowsChildren()
|
java.lang.Object |
getChildAt(int index)
Returns this node's child at the given index. |
int |
getChildCount()
Returns the number of children for this node. |
int |
getIndexOfChild(java.lang.Object child)
Gets index of given child. |
int |
getLeafNodeCount()
|
java.util.List |
getLeafNodes()
|
Node |
getParent()
|
Property |
getProperty()
Returns this nodes property. |
java.lang.Object |
getValue()
Returns value associated with this node. |
boolean |
isLeaf()
|
boolean |
remove(DBElement element)
Removes given element from this node down. |
boolean |
removeAll()
|
void |
removeNotify(javax.swing.event.TreeModelEvent event)
|
java.lang.String |
toString()
Returns string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ValueNode(java.lang.Object value,
java.util.List properties,
Node parent)
| Method Detail |
public boolean add(DBElement element)
add in interface Nodeelement - the element to add.
public boolean remove(DBElement element)
remove in interface Nodeelement - element to remove
public java.lang.Object getChildAt(int index)
throws java.lang.IndexOutOfBoundsException
getChildAt in interface Nodejava.lang.IndexOutOfBoundsExceptionpublic int getChildCount()
getChildCount in interface Nodepublic int getIndexOfChild(java.lang.Object child)
getIndexOfChild in interface Nodechild - child
public java.lang.Object getValue()
public Property getProperty()
public java.lang.String toString()
public java.util.List getLeafNodes()
getLeafNodes in interface Nodepublic int getLeafNodeCount()
getLeafNodeCount in interface Nodepublic java.util.Iterator children()
children in interface Nodepublic boolean getAllowsChildren()
getAllowsChildren in interface Nodepublic Node getParent()
getParent in interface Nodepublic boolean isLeaf()
isLeaf in interface Nodepublic void addNotify(javax.swing.event.TreeModelEvent event)
addNotify in interface Nodepublic void removeNotify(javax.swing.event.TreeModelEvent event)
removeNotify in interface Nodepublic boolean removeAll()
removeAll in interface Node
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||