-
-
Method Summary
Modifier and Type Method Description static TreeViewinstantiate()StringgetJsBase()DataItemaddChild(String child)Adds a child. DataItemaddChild(DataItem child)Adds a child. DataItemaddChild(DataItem child)Adds a child. DataItemaddChildAt(String child, Number index)Inserts a child into a specified position. DataItemaddChildAt(DataItem child, Number index)Inserts a child into a specified position. DataItemaddChildAt(DataItem child, Number index)Inserts a child into a specified position. TreeViewaddData(List<DataEntry> data)DataItemgetChildAt(Number index)Gets the child by index. voidgetChildren()Returns a roots array. TraversergetTraverser()Creates tree view data traverser. voidindexOfChild(DataItem child)Gets the index of child in a children array. voidindexOfChild(DataItem child)Gets the index of child in a children array. voidnumChildren()Returns a length of roots array. DataItemremoveChild(DataItem child)Removes data item's child. DataItemremoveChild(DataItem child)Removes data item's child. DataItemremoveChildAt(Number index)Removes child at the specified position. TreeViewremoveChildren()Removes children. voidremoveAllListeners(String type)Removes all listeners from an object. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). -
-
Constructor Detail
-
TreeView
TreeView(String jsChart)
-
-
Method Detail
-
instantiate
static TreeView instantiate()
-
addChildAt
DataItem addChildAt(String child, Number index)
Inserts a child into a specified position.
-
addChildAt
DataItem addChildAt(DataItem child, Number index)
Inserts a child into a specified position.
-
addChildAt
DataItem addChildAt(DataItem child, Number index)
Inserts a child into a specified position.
-
getChildAt
DataItem getChildAt(Number index)
Gets the child by index.
-
getChildren
void getChildren()
Returns a roots array.
-
getTraverser
Traverser getTraverser()
Creates tree view data traverser.
-
indexOfChild
void indexOfChild(DataItem child)
Gets the index of child in a children array.
-
indexOfChild
void indexOfChild(DataItem child)
Gets the index of child in a children array.
-
numChildren
void numChildren()
Returns a length of roots array.
-
removeChild
DataItem removeChild(DataItem child)
Removes data item's child.
-
removeChild
DataItem removeChild(DataItem child)
Removes data item's child.
-
removeChildAt
DataItem removeChildAt(Number index)
Removes child at the specified position.
-
removeChildren
TreeView removeChildren()
Removes children.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
-
-
-