|
ToolMap
|
#include <TreeMultiItemRoot.h>
Public Member Functions | |
| TreeMultiItemRoot () | |
| virtual TreeMultiItemRoot * | IsTreeMultiItemRoot () const |
Public Member Functions inherited from TreeMultiItemNode | |
| TreeMultiItemNode (TreeMultiItemNode *parent, const wxString &caption=wxEmptyString, const wxString &name=wxEmptyString) | |
| virtual TreeMultiItemNode * | IsTreeMultiItemNode () const |
| void | AddNode (TreeMultiItemBase *node) |
| void | InsertNode (TreeMultiItemBase *NodePtr, size_t Position) |
| void | Clear () |
| void | DeleteNode (TreeMultiItemBase *node) |
| void | DeleteNode (int index) |
| TreeMultiItemBase * | RemoveNode (TreeMultiItemBase *node) |
| TreeMultiItemBase * | RemoveNode (int index) |
| int | GetNodeCount () const |
| TreeMultiItemBase * | GetNode (int index) const |
| int | Index (TreeMultiItemBase *node, bool searchFromEnd=false) const |
| TreeMultiItemBase * | GetNodeNext (int &cookie) const |
| TreeMultiItemBase * | First () const |
| TreeMultiItemBase * | Last () const |
| void | Fold (bool expand) |
| const wxString & | GetCaption () const |
| void | SetCaption (const wxString &caption) |
| bool | IsExpanded () const |
Public Member Functions inherited from TreeMultiItemBase | |
| int | GetType () const |
| TreeMultiItemNode * | GetParent () const |
| wxString | GetName () const |
| void | SetName (wxString const &NewName) |
| virtual TreeMultiItemWindow * | IsTreeMultiItemWindow () 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 |
This class is the root class. It can hold many of the TreeMultiItemWindow and TreeMultiItemNode classes.
| TreeMultiItemRoot::TreeMultiItemRoot | ( | ) |
TreeMultiItemRoot This class is the class you use to create a tree. It contains all the public methods from a TreeMultiItemNode, but you can add more to it because it is the root. A typical addition is the load entry for a directory, or other type of enumeration. You could store the base path of a relative tree in this class.
|
inlinevirtual |
returns the instance pointer if the current node is a TreeMultiItemRoot, and nullptr when it's not.
Reimplemented from TreeMultiItemBase.