UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
uiNode Class Reference

#include <ui_node_abstractnode.h>

Inherited by uiConFuncNode, uiCvarNode, uiDataNode, uiFuncNode, and uiLocatedNode.

Public Member Functions

virtual void onLoading (uiNode_t *node)
 
virtual void onLoaded (uiNode_t *node)
 
virtual void clone (uiNode_t const *source, uiNode_t *clone)
 
virtual void initNode (uiNode_t *node)
 
virtual void initNodeDynamic (uiNode_t *node)
 
virtual void deleteNode (uiNode_t *node)
 
virtual void onWindowOpened (uiNode_t *node, linkedList_t *params)
 
virtual void onWindowClosed (uiNode_t *node)
 
virtual void onWindowActivate (uiNode_t *node)
 
virtual void onActivate (uiNode_t *node)
 Activate the node. Can be used without the mouse (ie. a button will execute onClick) More...
 
virtual void onPropertyChanged (uiNode_t *node, const value_t *property)
 
virtual ~uiNode ()
 

Detailed Description

Definition at line 33 of file ui_node_abstractnode.h.

Constructor & Destructor Documentation

virtual uiNode::~uiNode ( )
inlinevirtual

Definition at line 63 of file ui_node_abstractnode.h.

Member Function Documentation

void uiNode::clone ( uiNode_t const *  source,
uiNode_t clone 
)
virtual
void uiNode::initNodeDynamic ( uiNode_t node)
virtual

call to initialize a dynamic node

Reimplemented in uiModelNode, and uiAbstractValueNode.

Definition at line 137 of file ui_node_abstractnode.cpp.

Referenced by uiAbstractValueNode::initNodeDynamic(), and UI_Node_InitNodeDynamic().

void uiNode::onActivate ( uiNode_t node)
virtual

Activate the node. Can be used without the mouse (ie. a button will execute onClick)

Activate the node. Can be used without the mouse (ie. a button will execute onClick)

Todo:
The old implementation calls onClick when activated. This is odd and should be replaced by a correct onActivate event handler.

Reimplemented in uiCheckBoxNode, and uiRadioButtonNode.

Definition at line 435 of file ui_node_abstractnode.cpp.

References uiNode_t::lua_onActivate, uiNode_t::onClick, UI_ExecuteEventActions(), and UI_ExecuteLuaEventScript().

Referenced by UI_Node_Activate().

void uiNode::onPropertyChanged ( uiNode_t node,
const value_t property 
)
virtual
void uiNode::onWindowActivate ( uiNode_t node)
virtual

Called when a windows gets active again after some other window was popped from the stack

Reimplemented in uiWindowNode.

Definition at line 259 of file ui_node_abstractnode.cpp.

References uiNode_t::firstChild, uiNode_t::next, and UI_Node_WindowActivate().

Referenced by uiWindowNode::onSizeChanged(), uiWindowNode::onWindowActivate(), and UI_Node_WindowActivate().

void uiNode::onWindowClosed ( uiNode_t node)
virtual

Invoked when the window is removed from the rendering stack

Reimplemented in uiWindowNode, uiCvarNode, uiTimerNode, uiSequenceNode, uiVideoNode, uiRadarNode, uiConFuncNode, and uiBattleScapeNode.

Definition at line 252 of file ui_node_abstractnode.cpp.

References uiNode_t::firstChild, uiNode_t::next, and UI_Node_WindowClosed().

Referenced by uiWindowNode::onWindowClosed(), and UI_Node_WindowClosed().

void uiNode::onWindowOpened ( uiNode_t node,
linkedList_t params 
)
virtual

The documentation for this class was generated from the following files: