|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SceneTree.Visitor
A Visitor
is used to visit a SceneTree
.
On invocation of SceneTree.accept(Visitor)
, the complete
tree is passed to the specified visitor. This interface
follows the design pattern "Hierarchical Visitor".
Method Summary | |
---|---|
void |
visit(SceneTree.Leaf node)
Informs the visitor that a leaf is visited. |
void |
visitEnter(SceneTree.InnerNode node)
Informs the visitor that an inner node has been entered. |
void |
visitLeave(SceneTree.InnerNode node)
Informs the visitor that an inner node has been left. |
Method Detail |
---|
void visit(SceneTree.Leaf node)
node
- the leaf being visitedvoid visitEnter(SceneTree.InnerNode node)
node
- the node being enteredvoid visitLeave(SceneTree.InnerNode node)
node
- the node being left
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |