#include <ItdTreeNode.h>
Public Member Functions | |
wxWindow * | GetObj () |
Return a pointer to the related object. | |
void | SetObj (wxWindow *obj) |
Set the pointer to the related object. | |
int | GetType () |
Return the type of the related object. | |
void | SetType (int t) |
Set the type of the related object. | |
int | GetPageN () |
Return the page of the related object. | |
void | SetPageN (int n) |
Set the page of the related object. | |
ItdTreeNode (wxWindow *obj=NULL, int t=-1, int n=-1) | |
Constructor. | |
Private Attributes | |
wxWindow * | object |
Object related to the node. | |
int | type |
Type of the object. | |
int | pagen |
Page number (Only for sheets). |
ItdTreeNode is used by PnlObjTree to store information about objects inside each node It derives from wxTreeItemData
Definition at line 24 of file ItdTreeNode.h.
|
Constructor.
Definition at line 19 of file ItdTreeNode.cpp. |
|
Return a pointer to the related object.
Definition at line 28 of file ItdTreeNode.cpp. References object. Referenced by PnlObjTree::OnItemMenu(), PnlObjTree::OnKeyDown(), and PnlObjTree::OnSelectionChanged(). |
|
Return the page of the related object.
Definition at line 56 of file ItdTreeNode.cpp. References pagen. Referenced by PnlObjTree::OnItemMenu(), PnlObjTree::OnKeyDown(), and PnlObjTree::OnSelectionChanged(). |
|
Return the type of the related object.
Definition at line 35 of file ItdTreeNode.cpp. References type. Referenced by PnlObjTree::OnItemMenu(), PnlObjTree::OnKeyDown(), and PnlObjTree::OnSelectionChanged(). |
|
Set the pointer to the related object.
Definition at line 42 of file ItdTreeNode.cpp. References object. |
|
Set the page of the related object.
Definition at line 49 of file ItdTreeNode.cpp. References pagen. |
|
Set the type of the related object.
Definition at line 65 of file ItdTreeNode.cpp. References type. |
|
Object related to the node.
Definition at line 81 of file ItdTreeNode.h. Referenced by GetObj(), ItdTreeNode(), and SetObj(). |
|
Page number (Only for sheets).
Definition at line 87 of file ItdTreeNode.h. Referenced by GetPageN(), ItdTreeNode(), and SetPageN(). |
|
Type of the object.
Definition at line 84 of file ItdTreeNode.h. Referenced by GetType(), ItdTreeNode(), and SetType(). |