Widget tree interface.
Public Member Functions | |
| virtual iWidgetTreeNode * | GetRootNode () const =0 |
| Get the root tree node. {Property}. More... | |
| virtual tU32 | GetNumNodes () const =0 |
| Get the number of nodes. {Property}. More... | |
| virtual iWidgetTreeNode * | GetNode (tU32 anIndex) const =0 |
| Get the node at the specified index. {Property}. More... | |
| virtual tU32 | GetNumSelectedNodes () const =0 |
| Get the number of nodes selected. {Property}. More... | |
| virtual iWidgetTreeNode * | GetSelectedNode (tU32 anIndex) const =0 |
| Get the selected node at the specified index. {Property}. More... | |
| virtual tBool | Clear ()=0 |
| Clear the tree. More... | |
| virtual tBool | ClearSelection ()=0 |
| Clear the selection of all nodes. More... | |
| virtual iWidgetTreeNode * | GetNodeFromPosition (const sVec2f &avAbsPos) const =0 |
| Get a node from an absolute position. More... | |
| virtual eWidgetTreeNodeDropMode | GetNodeDropMode (iWidgetTreeNode *apNode, const sVec2f &avAbsPos) const =0 |
| Get the drop mode of the specified node from the specified absolute position. More... | |
| virtual void | SetSecondarySelection (iWidgetTreeNode *apNode)=0 |
| Set the secondary selection item. {Property}. More... | |
| virtual iWidgetTreeNode * | GetSecondarySelection () const =0 |
| Get the secondary selection item. {Property}. More... | |
| virtual iWidgetTreeNode * | GetPivotSelection () const =0 |
| Get the pivot selection. {Property}. More... | |
| virtual void | ScrollToNode (iWidgetTreeNode *apNode)=0 |
| Scroll to the specified item node. {Propety}. More... | |
| virtual tBool | SaveTreeStates (iDataTable *apStates)=0 |
| Save tree states. More... | |
| virtual tBool | LoadTreeStates (iDataTable *apStates, ni::tBool abLoadMatchingNames)=0 |
| Load tree states. More... | |
| virtual tBool | PushStates ()=0 |
| Push the tree's states. More... | |
| virtual tBool | PopStates (ni::tBool abLoadMatchingNames)=0 |
| Pop the tree's states. More... | |
| virtual void | SetNumVisibleAttributes (tU32 anCount)=0 |
| Set the number of visible attributes. {Property}. More... | |
| virtual tU32 | GetNumVisibleAttributes () const =0 |
| Get the number of visible attributes. {Property}. More... | |
| virtual void | SetAttributeIcon (tU32 anIndex, iOverlay *apIcon)=0 |
| Set the specified attribute's icon. {Property}. More... | |
| virtual iOverlay * | GetAttributeIcon (tU32 anIndex) const =0 |
| Get the specified attribute's icon. {Property}. More... | |
| virtual void | SetAttributeName (tU32 anIndex, iHString *ahspName)=0 |
| Set the specified attribute's name. {Property}. More... | |
| virtual iHString * | GetAttributeName (tU32 anIndex) const =0 |
| Get the specified attribute's name. {Property}. More... | |
| virtual tBool | SetHoverNode (tU32 anNodeTreeIndex)=0 |
| Set the hover node. {Property}. More... | |
| virtual tU32 | GetHoverNode () const =0 |
| Get the hover node. {Property}. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the root tree node. {Property}.
|
pure virtual |
Get the number of nodes. {Property}.
|
pure virtual |
Get the node at the specified index. {Property}.
|
pure virtual |
Get the number of nodes selected. {Property}.
|
pure virtual |
Get the selected node at the specified index. {Property}.
|
pure virtual |
Clear the tree.
|
pure virtual |
Clear the selection of all nodes.
|
pure virtual |
Get a node from an absolute position.
|
pure virtual |
Get the drop mode of the specified node from the specified absolute position.
|
pure virtual |
Set the secondary selection item. {Property}.
|
pure virtual |
Get the secondary selection item. {Property}.
|
pure virtual |
Get the pivot selection. {Property}.
|
pure virtual |
Scroll to the specified item node. {Propety}.
|
pure virtual |
Save tree states.
|
pure virtual |
Load tree states.
|
pure virtual |
Push the tree's states.
Set the number of visible attributes. {Property}.
|
pure virtual |
Get the number of visible attributes. {Property}.
Set the specified attribute's icon. {Property}.
Get the specified attribute's icon. {Property}.
Set the specified attribute's name. {Property}.
Get the specified attribute's name. {Property}.
Set the hover node. {Property}.
|
pure virtual |
Get the hover node. {Property}.
1.8.7