|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttools.blend.Node
tools.blend.CapNode
public class CapNode
Every blend expression tree has a root (cap) node. This is that node. Its constructor reserves a unique name for the construct.
| Constructor Summary | |
|---|---|
CapNode(java.lang.String tag)
This constructs a CapNode and assigns it a unique construct name to be used by all nodes in the expression and construct. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConstructName()
This method returns the unique name of the blend tree. |
java.lang.String |
getNewNodeName()
Nodes created under this cap will have a unique name based on the cap name. |
static java.lang.String |
reserveName(java.lang.String tag)
|
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 CapNode(java.lang.String tag)
tag - | Method Detail |
|---|
public static java.lang.String reserveName(java.lang.String tag)
public java.lang.String getNewNodeName()
public java.lang.String getConstructName()
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 | ||||||||