# GraffitiOrgChartItem
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AddItem | item as GraffitiOrgChartItem | (None) | Adds the specified item as a child of the root node. |
| Close | (None) | (None) | (None) |
| Constructor | Title as String <br> Content as String | (None) | Creates a new instance. |
| Constructor | Title as String <br> Container as WebContainer | (None) | Creates a new instance. |
| Item | index as Integer | GraffitiOrgChartItem | Returns the item specified by the index. |
| LastIndex | (None) | Integer | Returns the index of the last child of the root node. |
| RemoveAll | (None) | (None) | Removes all items. |
| RemoveItem | item as GraffitiOrgChartItem | (None) | Removes the item specified by index. |
| RemoveItem | index as Integer | (None) | Removes the item specified by index. |
| ScrollTo | (None) | (None) | Scrolls to the specified node. If item is Nil the root node is centered. |
| toJSON | (None) | JSONItem | Exports the current items to a JSONItem. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | ID | String | (None) |
| Attributes | Items | (None) | (None) |
| Attributes | mContent | String | (None) |
| Attributes | mTitle | String | (None) |
| Container | WebContainer | (None) | WebContainer embedded within this item. |
| Content | String | (None) | Content of the item. |
| ContentEditable | Boolean | (None) | Determines whether the content can be edited by double-click. |
| ContentStyle | GraffitiStyle | (None) | GraffitiStyle applied to content area. |
| HasAddButton | Boolean | (None) | If True, a button is added to the item's display that will create a new child when clicked. |
| HasRemoveButton | Boolean | (None) | If True, a button is added to the item's display that will delete the item when clicked. |
| mOwner | GraffitiUpdateInterface | (None) | (None) |
| Parent | GraffitiOrgChartItem | (None) | The parent of this item, or Nil if the parent is the root node. |
| Tag | Variant | (None) | Data storage. |
| Title | String | (None) | Title of the item. |
| TitleEditable | Boolean | (None) | Determines whether the title text can be edited by double-click. |
| TitleStyle | GraffitiStyle | (None) | GraffitiStyle applied to the title area. |