|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.gui.dbetree.PropertyNode
| Constructor Summary | |
PropertyNode(java.util.List properties,
Node parent)
PropertyNode Constructor. |
|
PropertyNode(Node parent)
PropertyNode Constructor. |
|
| Method Summary | |
boolean |
add(DBElement element)
Adds a DBElement to this property node tree. |
boolean |
add(java.util.List list)
Adds a list of DBElements to this property 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 the property associated with this node. |
boolean |
isLeaf()
|
boolean |
remove(DBElement element)
Removes given element from this node down. |
javax.swing.event.TreeModelEvent |
remove(ValueNode node)
Removes given value node from this node down. |
boolean |
removeAll()
Removes all value nodes from this property node. |
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 PropertyNode(java.util.List properties,
Node parent)
public PropertyNode(Node parent)
| Method Detail |
public boolean add(DBElement element)
add in interface Nodeelement - the element to add.
public boolean add(java.util.List list)
list - the list to add.
public boolean remove(DBElement element)
remove in interface Nodeelement - element to remove
public javax.swing.event.TreeModelEvent remove(ValueNode node)
node - node to remove
public boolean removeAll()
removeAll in interface Node
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 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 Node
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||