# GraffitiTreeViewNode
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AddColumn | columnString as String | (None) | Adds a new column. |
| Column | index as Integer | String | Returns the column text at the specified index. |
| ColumnCount | (None) | Integer | Returns the count of columns. |
| Constructor | json as JSONItem <br> dataCallback as GraffitiTreeView.FromJSONCallback = nil | (None) | Constructs the instance from the passed JSONItem |
| Constructor | theText as String <br> Checkable as Boolean = False <br> theIcon as Picture = Nil <br> theTag as Variant = Nil <br> theValue as Boolean = false <br> isExpanded as Boolean = false <br> Removeable as Boolean = false <br> Notifications as Integer = 0 <br> Editable as Boolean = False <br> Reorder as Boolean = False <br> Expandable as Boolean = False | (None) | Creates a new instance of the class. |
| InsertColumn | index as Integer <br> columnString as String | (None) | Inserts a new column. |
| RemoveAllColumns | (None) | (None) | Removes all columns. |
| RemoveColumn | columnIndex as Integer | (None) | Removes the column at the specified index. |
| ToJSON | dataCallback as GraffitiTreeView.ToJSONCallback = nil | JSONItem | Returns a JSONItem representation of the object. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | mObserver | GraffitiUpdateInterface | (None) |
| Attributes | Depth | Integer | (None) |
| Attributes | EditorBounds | Xojo.Rect | (None) |
| Attributes | image | Picture | (None) |
| Attributes | XOffset | Integer | (None) |
| Attributes | VisibleIndex | Integer | (None) |
| Attributes | posRemove | Xojo.Rect | (None) |
| Attributes | posExpand | Xojo.Rect | (None) |
| Attributes | posDrag | Xojo.Rect | (None) |
| Attributes | posCheck | Xojo.Rect | (None) |
| Attributes | Bounds | Xojo.Rect | (None) |
| CanCheck | Boolean | (None) | If the node displays a checkbox. |
| CanEdit | Boolean | (None) | If the node can be edited by the user. |
| CanExpand | Boolean | (None) | Controls whether the node can be expanded. |
| CanRemove | Boolean | (None) | If the node can be removed by the user. |
| CanReorder | Boolean | (None) | If the user can drag the node to change its position. |
| Checked | Boolean | (None) | If the node's checkbox is currently checked. |
| Enabled | Boolean | (None) | If the node currently shows as enabled. |
| Expanded | Boolean | (None) | If the node is currently expanded to show children. |
| HelpTag | String | (None) | Item tooltip. |
| Icon | Picture | (None) | Icon to display in this node's row. 16×16 or 32×32. |
| Nodes() | GraffitiTreeViewNode | (None) | Child nodes of this node. |
| NotificationCount | Integer | (None) | Number to display in the notification bubble. |
| Parent | GraffitiTreeViewNode | (None) | The parent node of this node. |
| Selected | Boolean | (None) | If the node is currently selected by the user. |
| Tag | Variant | (None) | A value which the developer may use to store any data. |
| Text | String | (None) | The text of this first column of the node. |