|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeWalker
Callback API for walking the UINode tree. TreeWalkers can be used (with TreeWalkerUtils) to traverse the tree with proper support for composite rendering.
TreeWalkerUtils
Method Summary | |
---|---|
boolean |
walkChildren(UIXRenderingContext context,
UINode node,
java.lang.Object value,
Path path)
Callback method that will be called once for every node to determine if the children of that node should be walked to. |
java.lang.Object |
walkNode(UIXRenderingContext context,
UINode node,
java.lang.Object previousValue,
Path path)
Callback method that will be called once for every node the tree walker walks. |
Method Detail |
---|
java.lang.Object walkNode(UIXRenderingContext context, UINode node, java.lang.Object previousValue, Path path) throws java.io.IOException
context
- the rendering context for this nodenode
- the current UINodepreviousValue
- the last value returned from walkNode, or
null on the first node walkedpath
- a Path object from the node where walking started
previousValue
.
java.io.IOException
- if this method writes outputboolean walkChildren(UIXRenderingContext context, UINode node, java.lang.Object value, Path path)
context
- the rendering context for this nodenode
- the current UINodevalue
- the last value returned from walkNodepath
- a Path object from the node where walking started
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |