An instance of TreeViewItem represents an item in TreeView. There may be multiple instances representing the same item, e.g. after calling TreeView: -currentItem multiple times.
An integer position of this item among its siblings.
An new instance of TreeViewItem representing the parent item.
A new instance of TreeViewItem representing the child item at index
.
Appends a new child to this item.
strings |
An array of Strings (or nil), each for the text of one data field. |
An instance of TreeViewItem representing the new item.
Inserts a new child to this item at index
.
index |
The position at which to insert the child. |
strings |
An array of Strings (or nil), each for the text of one data field. |
An instance of TreeViewItem representing the new item.
The text in the data fields.
strings |
An array of Strings (or nil), each for the text of one data field. |
Sets the text in the given data field.
column |
An integer index of a data field. |
string |
A String or nil. |
The background colors of the data fields.
colors |
An array of Colors, each for the color of one data field. |
Sets the background color of the given data field.
column |
An integer index of a data field. |
color |
A Color. |
The text colors of the data fields.
textColors |
An array of Colors, each for the color of one data field. |
Sets the text color of the given data field.
column |
An integer index of a data field. |
color |
A Color. |
Places another view into the given data field. Only one view can be placed into a data field at once. If a view is already present, it will be removed and destroyed.
If the number of data fields decreases due to a call to TreeView: -columns, the views contained in removed data fields will also be removed and destroyed.
column |
An integer index of a data field. |
view |
A View. |
Removes the view from the given data field, if any.
column |
An integer index of a data field. |
The view in the given data field.
column |
An integer index of a data field. |
Implements equality comparison between two TreeViewItem instances. Two instances are equal if they represent the same item in TreeView.
A Boolean.
Whether the item is invalid. After an item is removed, all related TreeViewItem instances become invalid.
A Boolean.