|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - The type of a NodeWidget the in graphpublic interface NodeWidgetFactory<K>
A factory for creating NodeWidgets for a single element. The
elements are supposed to be organized in a tree. There are furthermore
methods to retrieve information about the tree structure.
| Method Summary | |
|---|---|
NodeWidget<K> |
createGraphNode(K object)
Create a NodeWidget which is a visual representation of the
given object. |
List<K> |
getChildren(K object)
Returns the children of the object or null when object is a leaf. |
boolean |
isLeaf(K object)
Returns true when the given object is a leaf. |
| Method Detail |
|---|
NodeWidget<K> createGraphNode(K object)
NodeWidget which is a visual representation of the
given object.
object - the model of the created view
boolean isLeaf(K object)
object - the object
List<K> getChildren(K object)
object - the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||