|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttools.blend.Node
public abstract class Node
This abstract class holds the basic functionality of all blend expression nodes.
| Constructor Summary | |
|---|---|
Node(Node parent,
java.lang.String name)
This creates a new blend node. |
|
| Method Summary | |
|---|---|
void |
addChild(Node child)
This method adds a child to the node's child list |
protected int |
getChildIndex(Node whichChildAmI)
|
java.lang.String |
getName()
This method returns this node's unique name. |
CompareNode |
getStartingCompareNode()
This returns the first compare node. |
abstract java.lang.String |
whereDoIGoOnFail(Node whichChildAmI)
|
abstract 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Node(Node parent,
java.lang.String name)
parent - the parent of this nodename - the unique name of the node| Method Detail |
|---|
public CompareNode getStartingCompareNode()
public void addChild(Node child)
child - the child to addpublic java.lang.String getName()
protected int getChildIndex(Node whichChildAmI)
public abstract java.lang.String whereDoIGoOnPass(Node whichChildAmI)
whichChildAmI - which child I am (AND and OR have multiple children)
public abstract java.lang.String whereDoIGoOnFail(Node whichChildAmI)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||