public abstract static class Graph.NodeEventListener extends Object
| Constructor and Description |
|---|
NodeEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDecodingFields(Node node)
Notifies this listener that the decoding of fields for this node has finished.
|
void |
beforeDecodingFields(Node node)
Notifies this listener that the decoding of fields for this node is about to commence.
|
void |
changed(Graph.NodeEvent e,
Node node)
Notifies this listener about any change event in the graph.
|
void |
inputChanged(Node node)
Notifies this listener about a change in a node's inputs.
|
void |
nodeAdded(Node node)
Notifies this listener of an added node.
|
void |
nodeRemoved(Node node)
Notifies this listener of a removed node.
|
void |
usagesDroppedToZero(Node node)
Notifies this listener of a node becoming unused.
|
public void changed(Graph.NodeEvent e, Node node)
e - an eventnode - the node related to epublic void inputChanged(Node node)
node - a node who has had one of its inputs changedpublic void beforeDecodingFields(Node node)
node - a node whose fields are about to be decoded.public void afterDecodingFields(Node node)
node - a node who has had fields decoded.public void usagesDroppedToZero(Node node)
node - a node whose Node.usages() just became emptypublic void nodeAdded(Node node)
node - a node that was just added to the graphpublic void nodeRemoved(Node node)
node -