|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Model
This represents the 'public' interface for traversing the model and
reading it. It does not consider mutability since that is really
for the consideration of the model builder only. Look at MutableModelNode
if you need for some reason to modify the model at runtime.
Method Summary | |
---|---|
ModelNode |
getRoot()
Retrieves the root of the tree hierarchy to allow for manual manipulation if needed. |
Iterator |
iterator()
Allows for the client to visit the nodes one-by-one. |
Iterator |
iterator(TreeTraversalListener eventListener)
Allows for client to visit the nodes one-by-one but still engage in the semantics of tree traversal by firing an event whenever a 'level' in the tree is entered and exited. |
Method Detail |
---|
Iterator iterator()
Iterator iterator(TreeTraversalListener eventListener)
eventListener
- TreeTraversalListener the target for the events
ModelNode getRoot()
iterator()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |