Node for gui tree view. More...
#include <IGUITreeView.h>
Inheritance diagram for irr::gui::IGUITreeViewNode:Node for gui tree view.
Definition at line 27 of file IGUITreeView.h.
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::addChildBack | ( | const wchar_t * | text, |
| const wchar_t * | icon = 0, |
||
| s32 | imageIndex = -1, |
||
| s32 | selectedImageIndex = -1, |
||
| void * | data = 0, |
||
| IReferenceCounted * | data2 = 0 |
||
| ) | [pure virtual] |
Adds a new node behind the last child node.
| text | text of the new node |
| icon | icon text of the new node |
| imageIndex | index of the image for the new node (-1 = none) |
| selectedImageIndex | index of the selected image for the new node (-1 = same as imageIndex) |
| data | user data (void*) of the new node |
| data2 | user data2 (IReferenceCounted*) of the new node |
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::addChildFront | ( | const wchar_t * | text, |
| const wchar_t * | icon = 0, |
||
| s32 | imageIndex = -1, |
||
| s32 | selectedImageIndex = -1, |
||
| void * | data = 0, |
||
| IReferenceCounted * | data2 = 0 |
||
| ) | [pure virtual] |
Adds a new node before the first child node.
| text | text of the new node |
| icon | icon text of the new node |
| imageIndex | index of the image for the new node (-1 = none) |
| selectedImageIndex | index of the selected image for the new node (-1 = same as imageIndex) |
| data | user data (void*) of the new node |
| data2 | user data2 (IReferenceCounted*) of the new node |
| virtual void irr::gui::IGUITreeViewNode::clearChildren | ( | ) | [pure virtual] |
removes all children (recursive) from this node
Referenced by clearChilds().
| _IRR_DEPRECATED_ void irr::gui::IGUITreeViewNode::clearChilds | ( | ) | [inline] |
removes all children (recursive) from this node
Definition at line 82 of file IGUITreeView.h.
References clearChildren().
| virtual bool irr::gui::IGUITreeViewNode::deleteChild | ( | IGUITreeViewNode * | child | ) | [pure virtual] |
Deletes a child node.
| virtual u32 irr::gui::IGUITreeViewNode::getChildCount | ( | ) | const [pure virtual] |
returns the child item count
| virtual void* irr::gui::IGUITreeViewNode::getData | ( | ) | const [pure virtual] |
returns the user data (void*) of this node
| virtual IReferenceCounted* irr::gui::IGUITreeViewNode::getData2 | ( | ) | const [pure virtual] |
returns the user data2 (IReferenceCounted) of this node
| virtual bool irr::gui::IGUITreeViewNode::getExpanded | ( | ) | const [pure virtual] |
Returns true if the node is expanded (children are visible).
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::getFirstChild | ( | ) | const [pure virtual] |
Return the first child node from this node.
| virtual const wchar_t* irr::gui::IGUITreeViewNode::getIcon | ( | ) | const [pure virtual] |
returns the icon text of the node
| virtual u32 irr::gui::IGUITreeViewNode::getImageIndex | ( | ) | const [pure virtual] |
returns the image index of the node
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::getLastChild | ( | ) | const [pure virtual] |
Return the last child node from this node.
| virtual s32 irr::gui::IGUITreeViewNode::getLevel | ( | ) | const [pure virtual] |
Returns the level of this node.
The root node has level 0. Direct children of the root has level 1 ...
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::getNextSibling | ( | ) | const [pure virtual] |
Returns the next sibling node from this node.
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::getNextVisible | ( | ) | const [pure virtual] |
Returns the next visible (expanded, may be out of scrolling) node from this node.
| virtual IGUITreeView* irr::gui::IGUITreeViewNode::getOwner | ( | ) | const [pure virtual] |
returns the owner (tree view) of this node
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::getParent | ( | ) | const [pure virtual] |
Returns the parent node of this node.
For the root node this will return 0.
| virtual IGUITreeViewNode* irr::gui::IGUITreeViewNode::getPrevSibling | ( | ) | const [pure virtual] |
Returns the previous sibling node from this node.
| virtual bool irr::gui::IGUITreeViewNode::getSelected | ( | ) | const [pure virtual] |
Returns true if the node is currently selected.
| virtual u32 irr::gui::IGUITreeViewNode::getSelectedImageIndex | ( | ) | const [pure virtual] |
returns the image index of the node
| virtual const wchar_t* irr::gui::IGUITreeViewNode::getText | ( | ) | const [pure virtual] |
returns the text of the node
| virtual bool irr::gui::IGUITreeViewNode::hasChildren | ( | ) | const [pure virtual] |
returns true if this node has child nodes
Referenced by hasChilds().
| _IRR_DEPRECATED_ bool irr::gui::IGUITreeViewNode::hasChilds | ( | ) | const [inline] |
returns true if this node has child nodes
Definition at line 93 of file IGUITreeView.h.
References hasChildren().
| virtual IGUITreeViewNode* irr::gui::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 |
||
| ) | [pure virtual] |
Adds a new node behind the other node.
The other node has also te be a child node from this node.
| other | Node to insert after |
| text | text of the new node |
| icon | icon text of the new node |
| imageIndex | index of the image for the new node (-1 = none) |
| selectedImageIndex | index of the selected image for the new node (-1 = same as imageIndex) |
| data | user data (void*) of the new node |
| data2 | user data2 (IReferenceCounted*) of the new node |
| virtual IGUITreeViewNode* irr::gui::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 |
||
| ) | [pure virtual] |
Adds a new node before the other node.
The other node has also te be a child node from this node.
| other | Node to insert before |
| text | text of the new node |
| icon | icon text of the new node |
| imageIndex | index of the image for the new node (-1 = none) |
| selectedImageIndex | index of the selected image for the new node (-1 = same as imageIndex) |
| data | user data (void*) of the new node |
| data2 | user data2 (IReferenceCounted*) of the new node |
| virtual bool irr::gui::IGUITreeViewNode::isRoot | ( | ) | const [pure virtual] |
Returns true if this node is the root node.
| virtual bool irr::gui::IGUITreeViewNode::isVisible | ( | ) | const [pure virtual] |
Returns true if this node is visible (all parents are expanded).
| virtual bool irr::gui::IGUITreeViewNode::moveChildDown | ( | IGUITreeViewNode * | child | ) | [pure virtual] |
Moves a child node one position down.
| virtual bool irr::gui::IGUITreeViewNode::moveChildUp | ( | IGUITreeViewNode * | child | ) | [pure virtual] |
Moves a child node one position up.
| virtual void irr::gui::IGUITreeViewNode::setData | ( | void * | data | ) | [pure virtual] |
sets the user data (void*) of this node
| virtual void irr::gui::IGUITreeViewNode::setData2 | ( | IReferenceCounted * | data | ) | [pure virtual] |
sets the user data2 (IReferenceCounted) of this node
| virtual void irr::gui::IGUITreeViewNode::setExpanded | ( | bool | expanded | ) | [pure virtual] |
Sets if the node is expanded.
| virtual void irr::gui::IGUITreeViewNode::setIcon | ( | const wchar_t * | icon | ) | [pure virtual] |
sets the icon text of the node
| virtual void irr::gui::IGUITreeViewNode::setImageIndex | ( | u32 | imageIndex | ) | [pure virtual] |
sets the image index of the node
| virtual void irr::gui::IGUITreeViewNode::setSelected | ( | bool | selected | ) | [pure virtual] |
Sets this node as selected.
| virtual void irr::gui::IGUITreeViewNode::setSelectedImageIndex | ( | u32 | imageIndex | ) | [pure virtual] |
sets the image index of the node
| virtual void irr::gui::IGUITreeViewNode::setText | ( | const wchar_t * | text | ) | [pure virtual] |
sets the text of the node