CreatorTree Class Reference

#include <creator.h>

Inheritance diagram for CreatorTree:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CreatorTree ()
 ~CreatorTree ()
void buildNode (Node *node, U32 tab)
void build ()
bool addNode (Node *parent, Node *node)
NodecreateNode (const char *name, const char *value, bool group=false, Node *parent=0)
NodefindNode (S32 id)
S32 getSelected ()
void expandNode (Node *node, bool expand)
void selectNode (Node *node, bool select)
void sort ()
void clear ()
void onMouseDown (const GuiEvent &event)
void onMouseDragged (const GuiEvent &event)
void onMouseUp (const GuiEvent &event)
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.
void onRenderCell (Point2I offset, Point2I cell, bool, bool)
 DECLARE_CONOBJECT (CreatorTree)

Public Attributes

S32 mCurId
NodemRoot
Vector< Node * > mNodeList
S32 mTabSize
S32 mMaxWidth
S32 mTxtOffset

Private Types

typedef GuiArrayCtrl Parent

Classes

class  Node

Member Typedef Documentation

typedef GuiArrayCtrl CreatorTree::Parent [private]

Reimplemented from GuiArrayCtrl.


Constructor & Destructor Documentation

CreatorTree::CreatorTree (  ) 

CreatorTree::~CreatorTree (  ) 


Member Function Documentation

void CreatorTree::buildNode ( Node node,
U32  tab 
)

void CreatorTree::build (  ) 

bool CreatorTree::addNode ( Node parent,
Node node 
)

Node* CreatorTree::createNode ( const char *  name,
const char *  value,
bool  group = false,
Node parent = 0 
)

Node* CreatorTree::findNode ( S32  id  ) 

S32 CreatorTree::getSelected (  )  [inline]

void CreatorTree::expandNode ( Node node,
bool  expand 
)

void CreatorTree::selectNode ( Node node,
bool  select 
)

void CreatorTree::sort (  ) 

void CreatorTree::clear (  ) 

Reimplemented from SimSet.

void CreatorTree::onMouseDown ( const GuiEvent event  )  [virtual]

Reimplemented from GuiArrayCtrl.

void CreatorTree::onMouseDragged ( const GuiEvent event  )  [virtual]

Reimplemented from GuiArrayCtrl.

void CreatorTree::onMouseUp ( const GuiEvent event  )  [virtual]

Reimplemented from GuiControl.

bool CreatorTree::onWake (  )  [virtual]

Called when this object is asked to wake up returns true if it's actually awake at the end.

Reimplemented from GuiArrayCtrl.

void CreatorTree::onRenderCell ( Point2I  offset,
Point2I  cell,
bool  ,
bool   
) [virtual]

Reimplemented from GuiArrayCtrl.

CreatorTree::DECLARE_CONOBJECT ( CreatorTree   ) 


Member Data Documentation