|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttools.blend.Node
tools.blend.AndNode
public class AndNode
An AND node tries all children one by one. If any fail then the path is short-circuited to the parent's fail. If all pass then the flow continues with the parent's pass.
| Constructor Summary | |
|---|---|
AndNode(Node parent,
CapNode cap)
This constructs a new AND node |
|
| Method Summary | |
|---|---|
java.lang.String |
whereDoIGoOnFail(Node whichChildAmI)
|
java.lang.String |
whereDoIGoOnPass(Node whichChildAmI)
When a child node finishes its processing it can either have passed or failed and needs a destination to jump to (another compare-node or the pass/fail blocks). |
| Methods inherited from class tools.blend.Node |
|---|
addChild, getChildIndex, getName, getStartingCompareNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndNode(Node parent,
CapNode cap)
parent - the parent nodecap - the root of the expression| Method Detail |
|---|
public java.lang.String whereDoIGoOnPass(Node whichChildAmI)
Node
whereDoIGoOnPass in class NodewhichChildAmI - which child I am (AND and OR have multiple children)
public java.lang.String whereDoIGoOnFail(Node whichChildAmI)
whereDoIGoOnFail in class Node
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||