ToolMap
Loading...
Searching...
No Matches
TreeMultiItemRoot Class Reference

#include <TreeMultiItemRoot.h>

Inheritance diagram for TreeMultiItemRoot:
TreeMultiItemNode TreeMultiItemBase

Public Member Functions

 TreeMultiItemRoot ()
 
virtual TreeMultiItemRootIsTreeMultiItemRoot () const
 
- Public Member Functions inherited from TreeMultiItemNode
 TreeMultiItemNode (TreeMultiItemNode *parent, const wxString &caption=wxEmptyString, const wxString &name=wxEmptyString)
 
virtual TreeMultiItemNodeIsTreeMultiItemNode () const
 
void AddNode (TreeMultiItemBase *node)
 
void InsertNode (TreeMultiItemBase *NodePtr, size_t Position)
 
void Clear ()
 
void DeleteNode (TreeMultiItemBase *node)
 
void DeleteNode (int index)
 
TreeMultiItemBaseRemoveNode (TreeMultiItemBase *node)
 
TreeMultiItemBaseRemoveNode (int index)
 
int GetNodeCount () const
 
TreeMultiItemBaseGetNode (int index) const
 
int Index (TreeMultiItemBase *node, bool searchFromEnd=false) const
 
TreeMultiItemBaseGetNodeNext (int &cookie) const
 
TreeMultiItemBaseFirst () const
 
TreeMultiItemBaseLast () 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
 
TreeMultiItemNodeGetParent () const
 
wxString GetName () const
 
void SetName (wxString const &NewName)
 
virtual TreeMultiItemWindowIsTreeMultiItemWindow () 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
 

Detailed Description

This class is the root class. It can hold many of the TreeMultiItemWindow and TreeMultiItemNode classes.

Constructor & Destructor Documentation

◆ TreeMultiItemRoot()

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.

Member Function Documentation

◆ IsTreeMultiItemRoot()

virtual TreeMultiItemRoot * TreeMultiItemRoot::IsTreeMultiItemRoot ( ) const
inlinevirtual

returns the instance pointer if the current node is a TreeMultiItemRoot, and nullptr when it's not.

Reimplemented from TreeMultiItemBase.


The documentation for this class was generated from the following files: