CAF Shared JavaScript

Class CAF.Tree.Control.Model

Object
   |
   +--CAF.Output.Model
         |
         +--CAF.Input.Model
               |
               +--CAF.Tree.Control.Model

class CAF.Tree.Control.Model
extends CAF.Input.Model


Tree control client-side model. This model doesn't directly modify the tree's UI -- rather, it responds to modifications to the tree's model by modifing the display of the toggle controls.
Defined in tree.js


Field Summary
 Object classes
          
   
Fields inherited from class CAF.Input.Model
classes
   
Fields inherited from class CAF.Output.Model
id, form
 
Constructor Summary
CAF.Tree.Control.Model ()
           
 
Method Summary
 void collapse(rowId)
           Toggles control display to collapsed for specified row.
 void collapseAll()
           Toggles control display to all collapsed.
 void expand(rowId)
           Toggles control display to expanded for specified row.
 void expandAll()
           Toggles control display to all expanded.
 void initialize(element)
           Initializer.
 void make(rowId)
           Creates the toggle control in the specified (new) row.
 void toggle(rowId, open)
           Toggles control display expanded/collapsed for specified row.
 void toggleAll(open)
           Toggles control display to all expanded/collapsed.
 Object unmake(rowId)
           Deletes the toggle control in the specified (deleted) row.
 
Methods inherited from class CAF.Input.Model
getValue, setValue, setDisabled, isFocused, setFocused, isEmpty, addValidator, removeValidator, listValidators, validate, addValueChangeListener, removeValueChangeListener, listValueChangeListeners, getLabel, setLabel
   
Methods inherited from class CAF.Output.Model
toString, equals, isDisabled, isVisible, setVisible, hide, _reapplyOriginalStyle, show, refresh, reAttachBehaviors, refreshWhenVisible, addRefreshCompleteListener, removeRefreshCompleteListener, listRefreshCompleteListeners, addToggleListener, removeToggleListener, listToggleListeners
 

Field Detail

classes

Object classes

Constructor Detail

CAF.Tree.Control.Model

CAF.Tree.Control.Model()

Method Detail

collapse

void collapse(rowId)

collapseAll

void collapseAll()

expand

void expand(rowId)

expandAll

void expandAll()

initialize

void initialize(element)

make

void make(rowId)

toggle

void toggle(rowId, open)

toggleAll

void toggleAll(open)

unmake

Object unmake(rowId)

CAF Shared JavaScript

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