ToolMap
|
Public Member Functions | |
TreeMultiItemWindow (TreeMultiItemNode *parent, const wxString &name=wxEmptyString) | |
virtual TreeMultiItemWindow * | IsTreeMultiItemWindow () const |
void | AssignWindow (wxWindow *wnd) |
wxWindow * | GetWindow () |
void | SetFrontSpacing (int frontSpacing) |
int | GetFrontSpacing () const |
void | SetTopSpacing (int topSpacing) |
int | GetTopSpacing () const |
void | SetHorizontalSpan (bool span) |
bool | GetHorizontalSpan () const |
Public Member Functions inherited from TreeMultiItemBase | |
int | GetType () const |
TreeMultiItemNode * | GetParent () const |
wxString | GetName () const |
void | SetName (wxString const &NewName) |
virtual TreeMultiItemRoot * | IsTreeMultiItemRoot () const |
virtual TreeMultiItemNode * | IsTreeMultiItemNode () const |
void | SetExcluded (bool excluded) |
void | SetX (int x) |
int | GetX () const |
void | SetY (int y) |
int | GetY () const |
void | SetHeight (int height) |
int | GetHeight () const |
void | SetWidth (int width) |
int | GetWidth () const |
bool | IsVisible () |
bool | IsExcluded () const |
bool | IsSelected (void) const |
void | Select (void) |
void | ToggleSelection (void) |
void | Unselect (void) |
Additional Inherited Members | |
Protected Member Functions inherited from TreeMultiItemBase | |
TreeMultiItemBase (TreeMultiItemNode *parent) | |
Protected Attributes inherited from TreeMultiItemBase | |
wxString | _name |
bool | _excluded |
int | _type |
int | _x |
int | _y |
int | _width |
int | _height |
TreeMultiItemWindow::TreeMultiItemWindow | ( | TreeMultiItemNode * | parent, |
const wxString & | name = wxEmptyString |
||
) |
TreeMultiItemWindow This class is a possible end node for the tree. If you want multiple types of end-nodes you should copy this file and adjust it with a different class name.
void TreeMultiItemWindow::AssignWindow | ( | wxWindow * | wnd | ) |
Assigns the given window to this TreeMultiItemWindow, and also destroys the present window. If the assigned window is 0, this item is not drawn and removed from the tree visually
|
inline |
Get window method
|
inlinevirtual |
returns the instance pointer if the current node is a TreeMultiItemWindow, and nullptr when it's not.
Reimplemented from TreeMultiItemBase.