#include <NodeListener.h>
Public Member Functions | |
virtual void | destroyed (Node *node) |
virtual void | childAttached (Node *node, Node *child) |
virtual void | childRemoved (Node *node, Node *child) |
virtual void | parentChanged (Node *node, Node *parent) |
virtual void | beforeDraw (Node *node) |
virtual void | afterDraw (Node *node) |
virtual void | visibilityChanged (Node *node, bool vis) |
This interface provides methods for receiving events specific to Nodes. For example, NodeListeners are notified of when children are attached or removed from a Node, or when a Node is destroyed, and so on.
virtual void NodeListener::destroyed | ( | Node * | node | ) | [inline, virtual] |
Called when a Node's parent has changed.
node | Node which has had its parent changed | |
parent | the new parent |
virtual void NodeListener::beforeDraw | ( | Node * | node | ) | [inline, virtual] |
virtual void NodeListener::afterDraw | ( | Node * | node | ) | [inline, virtual] |
virtual void NodeListener::visibilityChanged | ( | Node * | node, | |
bool | vis | |||
) | [inline, virtual] |
Called when a Node's visibility changes.
node | Node that has changed visibility | |
vis | new visibility |