CAF Shared JavaScript

Class CAF.Table.Row.Model

Object
   |
   +--CAF.Select.Item.Model
         |
         +--CAF.Table.Row.Model
Direct Known Subclasses:
CAF.List.Item.Model, CAF.Tree.Row.Model

class CAF.Table.Row.Model
extends CAF.Select.Item.Model


CAF TableRow client-side model. The value of a table row is its (server-side addressable-table-content-provider) row id.
Defined in table.js


Field Summary
 Object classes
          
 
Constructor Summary
CAF.Table.Row.Model ()
           
 
Method Summary
 Object getControlId(localId)
           Calculates the global id for the control in this row with the specified local id.
 Object getControlIds()
           Calculates a map of local ids to global ids for the controls contained in this row.
 Object getLabel()
           Gets this option's label.
 Object getValues()
           Returns map of (local) control ids to control model values for each control in this row.
 void initialize(id, values, description, disabled, style, styleClass)
           Initializer.
 Object isDisabled()
           True if option is disabled.
 Object isLoading()
           Returns true if this row is loading.
 Object isVisible()
           Returns true if this row is visible.
 void setDisabled(disabled)
           Sets this option as enabled/disabled.
 void setLabel(label)
           Sets this option's label.
 void setValues(values)
           Update the values of the controls in this row specified by the values map.
 
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.Table.Row.Model

CAF.Table.Row.Model()

Method Detail

getControlId

Object getControlId(localId)

getControlIds

Object getControlIds()

getLabel

Object getLabel()

getValues

Object getValues()

initialize

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

isDisabled

Object isDisabled()

isLoading

Object isLoading()

isVisible

Object isVisible()

setDisabled

void setDisabled(disabled)

setLabel

void setLabel(label)

setValues

void setValues(values)

CAF Shared JavaScript

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