|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - key type (usually Integer)V - value type (usually String)public interface TreeProvider<K,V>
Provide nodes for the Tree.
| Method Summary | |
|---|---|
K |
getKey()
Get the key object (unique identifier of the node). |
K |
getParent()
Get the parent id (should match the getKey() for another entry). |
V |
getValue()
Get the value that is to be displayed for this node. |
boolean |
moveNext()
Go to the next entry in the list. |
| Method Detail |
|---|
K getKey()
K getParent()
getKey() for another entry).
V getValue()
boolean moveNext()
DBFunctions.moveNext() to
implement this function because the first call is dummy on database rows while here it
is expected to actually do something from the first call. The easy way out is to do a
moveNext on the database result after executing the query and before building
the tree from it.
DBFunctions.moveNext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||