UFO: Alien Invasion
uiNode Class Reference

#include <ui_node_abstractnode.h>

Inheritance diagram for uiNode:
Inheritance graph
Collaboration diagram for uiNode:
Collaboration graph

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

◆ ~uiNode()

virtual uiNode::~uiNode ( )
inlinevirtual

Definition at line 63 of file ui_node_abstractnode.h.

Member Function Documentation

◆ clone()

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

◆ deleteNode()

◆ initNode()

◆ initNodeDynamic()

void uiNode::initNodeDynamic ( uiNode_t node)
virtual

call to initialize a dynamic node

Reimplemented in uiAbstractValueNode, and uiModelNode.

Definition at line 137 of file ui_node_abstractnode.cpp.

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

◆ onActivate()

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().

◆ onLoaded()

◆ onLoading()

◆ onPropertyChanged()

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

◆ onWindowActivate()

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().

◆ onWindowClosed()

void uiNode::onWindowClosed ( uiNode_t node)
virtual

Invoked when the window is removed from the rendering stack

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

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().

◆ onWindowOpened()

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

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