Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TreeView Class Reference

Class de parametre et d'evenement d'une "TreeView". More...

#include <treeView.h>

Inheritance diagram for TreeView:

Control TreeDirectory List of all members.

Public Member Functions

 TreeView ()
void Create ()
void Draw ()
TreeNodeFindOnData (int idControl)
 Trouve le noeud data qui est utilisé dans un control donnée.

void GetTreePath (TreeNode *treeNode, MyString &result, BOOL isFirst=TRUE)
void ConfigFacesPlus (Control *control, BOOL isCollaps)
int OnNextFrame (Timer *timer)
int OnClick ()

Public Attributes

MyTree< TreeViewItemdata
EventTreeView onTreeView

Detailed Description

Class de parametre et d'evenement d'une "TreeView".

Definition at line 59 of file treeView.h.


Constructor & Destructor Documentation

TreeView::TreeView  ) 
 

Definition at line 26 of file treeView.cpp.


Member Function Documentation

void TreeView::ConfigFacesPlus Control control,
BOOL  isCollaps
 

Definition at line 169 of file treeView.cpp.

References ce, MyTreeNode< T >::childs, Control::faceNode, MyListIterator< T >::GetElem(), Textures::minus, MyListIterator< T >::More(), Textures::plus, ControlEngine::texture, and Face::texture.

void TreeView::Create  )  [virtual]
 

Reimplemented from Control.

Definition at line 31 of file treeView.cpp.

References Primitive::AddBox(), ce, and ControlEngine::primitive.

Referenced by Tutorial::ApplicationDemo::ApplicationDemo().

void TreeView::Draw  ) 
 

Definition at line 36 of file treeView.cpp.

References ce, Primitive::ComputeLayout(), data, MyTreeNode< T >::elem, FACE_FRONT, Primitive::GoTo(), ControlEngine::Pop(), ControlEngine::primitive, and ControlEngine::Push().

Referenced by Tutorial::ApplicationDemo::ApplicationDemo(), and OnNextFrame().

TreeNode * TreeView::FindOnData int  idControl  ) 
 

Trouve le noeud data qui est utilisé dans un control donnée.

Definition at line 102 of file treeView.cpp.

References data, and TreeNode.

void TreeView::GetTreePath TreeNode treeNode,
MyString result,
BOOL  isFirst = TRUE
 

Definition at line 148 of file treeView.cpp.

References MyTreeNode< TreeViewItem >::elem, MyTreeNode< TreeViewItem >::parent, TreeViewItem::text, and TreeNode.

Referenced by TreeDirectory::OnClickDirectory(), Tutorial::ApplicationDemo::OnSelectBkg(), and Tutorial::ApplicationDemo::OnSelectExplorer().

int TreeView::OnClick  ) 
 

Definition at line 121 of file treeView.cpp.

References ce, Picking::controlHover, and ControlEngine::pickingCursor.

int TreeView::OnNextFrame Timer timer  ) 
 

Definition at line 160 of file treeView.cpp.

References ce, Control::DeleteSub(), Draw(), Timer::onTimer, ControlEngine::pickingCursor, and Picking::ResetCurrent().


Member Data Documentation

MyTree<TreeViewItem> TreeView::data
 

Definition at line 70 of file treeView.h.

EventTreeView TreeView::onTreeView
 

Definition at line 71 of file treeView.h.

Referenced by Tutorial::ApplicationDemo::ApplicationDemo().


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 19:21:57 2004 for 3d Controls by doxygen 1.3.6