#include <CATTreeCtrl.h>
Definition at line 37 of file CATTreeCtrl.h.
Public Member Functions | |
CATTreeCtrl (const CATString &element, const CATString &rootDir) | |
virtual | ~CATTreeCtrl () |
virtual bool | OnControlEvent (const CATEvent &event, CATInt32 &result) |
virtual CATResult | OnEvent (const CATEvent &event, CATInt32 &retVal) |
Event handler. | |
virtual void | SetFocused (bool focused) |
virtual void | OnEscapeChange () |
virtual void | OnParentCreate () |
virtual void | OnParentDestroy () |
virtual CATTREEINFO * | GetCurItem () |
virtual CATTREEINFO * | GetRootItem (CATUInt32 index) |
virtual CATUInt32 | GetNumRootItems () |
virtual CATResult | SetCurItem (CATTREEINFO *item, bool sendCommand=true) |
virtual CATResult | SetItemText (CATTREEINFO *item, const CATString &text) |
virtual CATResult | ExpandItem (CATTREEINFO *item, bool expand) |
virtual CATResult | Insert (const CATString &displayText, CATTREEINFO *parent, CATTREEINFO *&newItemRef, void *dataPtr, CATUInt32 index=-1, CATUInt32 imageNumber=-1) |
virtual CATTREEINFO * | GetItemFromDataPtr (void *dataPtr, CATTREEINFO *rootItem=0) |
virtual CATResult | Remove (CATTREEINFO *&item) |
virtual CATResult | Clear () |
virtual CATString | GetHint () const |
GetHint() retrieves the hint text for the control. | |
virtual CATCommand | GetCommand () const |
virtual CATString | GetString () const |
virtual void | SetEnabled (bool enabled) |
virtual CATResult | UseImageList (CATUInt32 imageListId, CATUInt32 width, const CATColor &transparent) |
virtual void | ExpandRoot () |
Protected Member Functions | |
void | ClearTreeItem (CATTREEINFO *item) |
void | OSClearTree () |
CATResult | OSAddItem (const CATString &displayText, CATTREEINFO *treeItem, CATUInt32 index) |
CATResult | OSRemoveItem (CATTREEINFO *treeItem) |
CATTREEINFO * | OSGetCurSel () |
CATResult | OSSetCurSel (CATTREEINFO *newSel) |
CATResult | OSUpdateText (CATTREEINFO *treeItem) |
CATResult | OSEvent (const CATEvent &event, CATInt32 &retVal) |
void | OSRebuildTree (std::vector< CATTREEINFO * > *curList) |
void | OSUpdateTreeColors () |
Protected Attributes | |
CATTREEINFO * | fCurSel |
std::vector< CATTREEINFO * > | fRootList |
CATFONT | fFont |
bool | fRespondSelect |