#include <TMainTree.h>
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 | |
| ChildBase * | lastChild |
| Pointer to the last selected child. | |
|
||||||||||||
|
Constructor.
|
|
||||||||||||
|
Adds a child to the tree.
|
|
|
Initialization of the tree; removal of old items, if any.
|
|
|
Closes the current child.
|
|
|
Event handler (when an item gets the focus, via keyboard or mouse).
|
|
|
Handles right click on an item (context menu).
|
|
|
Remove child from the tree.
|
|
|
|
|
|
|
|
|
|
|
|
Pointer to the last selected child.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1