Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TMainTree Class Reference

The main tree class. More...

#include <TMainTree.h>

List of all members.

Public Member Functions

 TMainTree (wxSashLayoutWindow *parent, int i)
 Constructor.
void initme ()
 Initialization of the tree; removal of old items, if any.
void addChild (ChildBase *c, int type=TYPE_VECTOR)
 Adds a child to the tree.
void removeChild (ChildBase *c)
 Remove child from the tree.
void OnEvent (wxTreeEvent &event)
 Event handler (when an item gets the focus, via keyboard or mouse).
void OnRightClick (wxTreeEvent &event)
 Handles right click on an item (context menu).
void OnCloseChild (wxCommandEvent &event)
 Closes the current child.

Public Attributes

wxTreeItemId treeroot
wxTreeItemId vectors
wxTreeItemId primers
wxTreeItemId fragments
wxTreeItemId sequences
wxTreeItemId alignments
wxTreeItemId amino_acids
wxTreeItemId misc

Private Attributes

ChildBaselastChild
 Pointer to the last selected child.


Detailed Description

The main tree class.


Constructor & Destructor Documentation

TMainTree::TMainTree wxSashLayoutWindow *  parent,
int  i
 

Constructor.


Member Function Documentation

void TMainTree::addChild ChildBase c,
int  type = TYPE_VECTOR
 

Adds a child to the tree.

Parameters:
c Pointer to child
type Where to add it

void TMainTree::initme  ) 
 

Initialization of the tree; removal of old items, if any.

void TMainTree::OnCloseChild wxCommandEvent &  event  ) 
 

Closes the current child.

void TMainTree::OnEvent wxTreeEvent &  event  ) 
 

Event handler (when an item gets the focus, via keyboard or mouse).

void TMainTree::OnRightClick wxTreeEvent &  event  ) 
 

Handles right click on an item (context menu).

void TMainTree::removeChild ChildBase c  ) 
 

Remove child from the tree.


Member Data Documentation

wxTreeItemId TMainTree::alignments
 

wxTreeItemId TMainTree::amino_acids
 

wxTreeItemId TMainTree::fragments
 

ChildBase* TMainTree::lastChild [private]
 

Pointer to the last selected child.

wxTreeItemId TMainTree::misc
 

wxTreeItemId TMainTree::primers
 

wxTreeItemId TMainTree::sequences
 

wxTreeItemId TMainTree::treeroot
 

wxTreeItemId TMainTree::vectors
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:48 2006 for GENtle by  doxygen 1.4.1