Namespace: PP;
TreeModel
The TreeModel class implements data model in hierarchical charts.
The TreeModel class is using by the components BubbleTree and TreeMap.
PP.initClass(PP.TreeModel, PP.Object, "PP.TreeModel");
Constructor name | Brief description | |
TreeModel | The TreeModel constructor creates an instance of the TreeModel class. |
Property name | Brief description | |
ActiveItem | The ActiveItem property determines an active element of chart data model. | |
RootItem | The RootItem property determines a root element of the chart data model. |
Method name | Overview | |
buildIndex | The buildIndex method refreshes indexes of data model elements. | |
getItem | The getItem method returns data model element by its index. | |
goToParent | The goToParent method replaces the currently active element with its parent. |
Event name | Brief description | |
ActiveItemChanged | The ActiveItemChanged event occurs after active chart element is changed. |
Property name | Brief description | |
The Id property determines a repository object identifier. |
Method name | Brief description | |
clone | The clone method creates an object copy. | |
dispose | The dispose method deletes the component. | |
getHashCode | The getHashCode method returns hash code of repository object. | |
getSettings | The getSettings method returns repository object settings. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. | |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. | |
isLive | The isLive method determines validity of repository object. | |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. | |
setSettings | The setSettings method determines repository object settings. | |
defineProps | The defineProps method creates get and set methods from name array for the specified class. | |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: