ITreeView


Describes minimum required functionality from TreeView control.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class ITreeView :public virtual IControl, public virtual IComponentItemTree
{
public:
    virtual int getItemCount() = 0; // Return item count 
    virtual IListItemTreeViewLabel *getItem(const int index) = 0; // Return item by index 

    virtual bool Add(IListItemTreeViewLabel *item) = 0; // Add item 
    virtual bool Add(const String &caption) = 0; // Add item 
    virtual bool Delete(const int index) = 0; // Delete item by index 
    virtual bool Clear() = 0; // Delete all items 
};
Namespace: nitisa::standard
Include: Standard/Controls/ITreeView.h