|
virtual IGUITreeView * | getOwner () const =0 |
| returns the owner (tree view) of this node
|
|
virtual IGUITreeViewNode * | getParent () const =0 |
| Returns the parent node of this node.
|
|
virtual const wchar_t * | getText () const =0 |
| returns the text of the node
|
|
virtual void | setText (const wchar_t *text)=0 |
| sets the text of the node
|
|
virtual const wchar_t * | getIcon () const =0 |
| returns the icon text of the node
|
|
virtual void | setIcon (const wchar_t *icon)=0 |
| sets the icon text of the node
|
|
virtual u32 | getImageIndex () const =0 |
| returns the image index of the node
|
|
virtual void | setImageIndex (u32 imageIndex)=0 |
| sets the image index of the node
|
|
virtual u32 | getSelectedImageIndex () const =0 |
| returns the image index of the node
|
|
virtual void | setSelectedImageIndex (u32 imageIndex)=0 |
| sets the image index of the node
|
|
virtual void * | getData () const =0 |
| returns the user data (void*) of this node
|
|
virtual void | setData (void *data)=0 |
| sets the user data (void*) of this node
|
|
virtual IReferenceCounted * | getData2 () const =0 |
| returns the user data2 (IReferenceCounted) of this node
|
|
virtual void | setData2 (IReferenceCounted *data)=0 |
| sets the user data2 (IReferenceCounted) of this node
|
|
virtual u32 | getChildCount () const =0 |
| returns the child item count
|
|
virtual void | clearChildren ()=0 |
| removes all children (recursive) from this node
|
|
NIRT_DEPRECATED void | clearChilds () |
| removes all children (recursive) from this node
|
|
virtual bool | hasChildren () const =0 |
| returns true if this node has child nodes
|
|
NIRT_DEPRECATED bool | hasChilds () const |
| returns true if this node has child nodes
|
|
virtual IGUITreeViewNode * | addChildBack (const wchar_t *text, const wchar_t *icon=0, s32 imageIndex=-1, s32 selectedImageIndex=-1, void *data=0, IReferenceCounted *data2=0)=0 |
| Adds a new node behind the last child node.
|
|
virtual IGUITreeViewNode * | addChildFront (const wchar_t *text, const wchar_t *icon=0, s32 imageIndex=-1, s32 selectedImageIndex=-1, void *data=0, IReferenceCounted *data2=0)=0 |
| Adds a new node before the first child node.
|
|
virtual IGUITreeViewNode * | insertChildAfter (IGUITreeViewNode *other, const wchar_t *text, const wchar_t *icon=0, s32 imageIndex=-1, s32 selectedImageIndex=-1, void *data=0, IReferenceCounted *data2=0)=0 |
| Adds a new node behind the other node.
|
|
virtual IGUITreeViewNode * | insertChildBefore (IGUITreeViewNode *other, const wchar_t *text, const wchar_t *icon=0, s32 imageIndex=-1, s32 selectedImageIndex=-1, void *data=0, IReferenceCounted *data2=0)=0 |
| Adds a new node before the other node.
|
|
virtual IGUITreeViewNode * | getFirstChild () const =0 |
| Return the first child node from this node.
|
|
virtual IGUITreeViewNode * | getLastChild () const =0 |
| Return the last child node from this node.
|
|
virtual IGUITreeViewNode * | getPrevSibling () const =0 |
| Returns the previous sibling node from this node.
|
|
virtual IGUITreeViewNode * | getNextSibling () const =0 |
| Returns the next sibling node from this node.
|
|
virtual IGUITreeViewNode * | getNextVisible () const =0 |
| Returns the next visible (expanded, may be out of scrolling) node from this node.
|
|
virtual bool | deleteChild (IGUITreeViewNode *child)=0 |
| Deletes a child node.
|
|
virtual bool | moveChildUp (IGUITreeViewNode *child)=0 |
| Moves a child node one position up.
|
|
virtual bool | moveChildDown (IGUITreeViewNode *child)=0 |
| Moves a child node one position down.
|
|
virtual bool | getExpanded () const =0 |
| Returns true if the node is expanded (children are visible).
|
|
virtual void | setExpanded (bool expanded)=0 |
| Sets if the node is expanded.
|
|
virtual bool | getSelected () const =0 |
| Returns true if the node is currently selected.
|
|
virtual void | setSelected (bool selected)=0 |
| Sets this node as selected.
|
|
virtual bool | isRoot () const =0 |
| Returns true if this node is the root node.
|
|
virtual s32 | getLevel () const =0 |
| Returns the level of this node.
|
|
virtual bool | isVisible () const =0 |
| Returns true if this node is visible (all parents are expanded).
|
|
| IReferenceCounted () |
| Constructor.
|
|
virtual | ~IReferenceCounted () |
| Destructor.
|
|
void | grab () const |
| Grabs the object. Increments the reference counter by one.
|
|
bool | drop () const |
| Drops the object. Decrements the reference counter by one.
|
|
s32 | getReferenceCount () const |
| Get the reference count.
|
|
const c8 * | getDebugName () const |
| Returns the debug name of the object.
|
|