Class type Goog.​Ui.​Tree.​baseNode

class type ['a]baseNode = object..end

Inherits


method add : 
'a baseNode Js.t ->
'a baseNode Js.t Js.opt ->
'a baseNode Js.t Js.meth

Adds a node as a child to the current node Returns The added child.

method collapse : unit Js.meth
method collapseAll : unit Js.meth
method contains : 'a baseNode Js.t -> bool Js.t Js.meth

Returns true if the node is a descendant of this node Returns True if the node is a descendant of this node, false otherwise.

method createDom : unit Js.meth

Creates the element. Returns The element.

method deselect : unit Js.meth
method disposeInternal : unit Js.meth
method enterDocument : unit Js.meth
method expand : unit Js.meth
method expandAll : unit Js.meth
method expandChildren : unit Js.meth
method getAfterLabelElement : Dom_html.element Js.t Js.meth

Returns The element after the label.

method getAfterLabelHtml : Js.js_string Js.t Js.meth

Returns the html that appears after the label. This is useful if you want to put extra on the row of the label but not inside the anchor tag. Returns The html.

method getChildren : 'a baseNode Js.t Js.js_array Js.t Js.meth

Returns the children of this node. The caller must not modify the returned collection. Returns The children.

method getChildrenElement : Dom_html.element Js.t Js.meth

Returns The div containing the children.

method getClientData : 'a Js.opt Js.meth

Returns Data set by the client.

method getConfig : config Js.meth

Returns The configuration for the tree.

method getDepth : Js.number Js.t Js.meth

Returns the depth of the node in the tree. Should no longer be overridden; override computeDepth instead. Returns The non-negative depth of this node (the root is zero).

method getElement : Dom_html.element Js.t Js.meth

Returns The element for the tree node.

method getExpandIconClass : Js.js_string Js.t Js.meth

Returns The src for the icon used for expanding the node.

method getExpandIconElement : Dom_html.element Js.t Js.meth

Returns The expanded icon element.

method getExpandIconHtml : Js.js_string Js.t Js.meth

Returns The source for the icon.

method getExpanded : bool Js.t Js.meth

Returns Whether the node is expanded.

method getExpandedIconClass : Js.js_string Js.t Js.meth

Gets the icon class for when the node is expanded. Returns The class.

method getFirstChild : 'a baseNode Js.t Js.opt Js.meth

Returns The first child of this node.

method getHtml : Js.js_string Js.t Js.meth

Returns the html of the label. Returns The html string of the label.

method getIconClass : Js.js_string Js.t Js.meth

Gets the icon class for the node. Returns s The icon source.

method setClientData : 'a Js.opt -> unit Js.meth