CAF Shared JavaScript

Class CAF.Tree.Row.Model

Object
   |
   +--CAF.Select.Item.Model
         |
         +--CAF.Table.Row.Model
               |
               +--CAF.Tree.Row.Model

class CAF.Tree.Row.Model
extends CAF.Table.Row.Model


CAF Tree.Row client-side model.
Defined in tree.js


Field Summary
 Object classes
          
   
Fields inherited from class CAF.Table.Row.Model
classes
 
Constructor Summary
CAF.Tree.Row.Model ()
           
 
Method Summary
 Object addChild(index, child)
           Adds child to this node.
 Object getChildren()
           Array of this node's children, in order.
 Object getDepth()
           Depth of this node; roots have depth 0.
 void getHasChildren()
           True if node has children.
 Object getLastChildAncestors()
           Array of the lastChild value for each of this node's ancestors, from the root to this node's parent.
 Object getParent()
           Parent of this node.
 void initialize(id, values, description, disabled, style, styleClass)
           Initializer.
 void isFirstChild()
           True if this node is the first child of its parent.
 void isLastChild()
           True if this node is the last child of its parent.
 void isLoaded()
           True if this node has been loaded.
 void isOpen()
           True if node is expanded.
 Object isVisible()
           Returns true if this control is visible.
 Object removeChild(child)
           Removes child from this node.
 void setOpen(open)
           Expands or collapses this node.
 
Methods inherited from class CAF.Table.Row.Model
getLabel, setLabel, isDisabled, setDisabled, isLoading, getControlId, getControlIds, getValues, setValues
   
Methods inherited from class CAF.Select.Item.Model
toString, equals, getValue, setValue, getDescription, setDescription, getStyle, setStyle, getStyleClass, setStyleClass, getIcon, setIcon
 

Field Detail

classes

Object classes

Constructor Detail

CAF.Tree.Row.Model

CAF.Tree.Row.Model()

Method Detail

addChild

Object addChild(index, child)

getChildren

Object getChildren()

getDepth

Object getDepth()

getHasChildren

void getHasChildren()

getLastChildAncestors

Object getLastChildAncestors()

getParent

Object getParent()

initialize

void initialize(id, values, description, disabled, style, styleClass)

isFirstChild

void isFirstChild()

isLastChild

void isLastChild()

isLoaded

void isLoaded()

isOpen

void isOpen()

isVisible

Object isVisible()

removeChild

Object removeChild(child)

setOpen

void setOpen(open)

CAF Shared JavaScript

Documentation generated by JSDoc on Sun Sep 15 20:21:18 2019