CAF Shared JavaScript

Class CAF.DateRangeInput.Model

Object
   |
   +--CAF.Output.Model
         |
         +--CAF.Input.Model
               |
               +--CAF.DateInput.Model
                     |
                     +--CAF.DateRangeInput.Model

class CAF.DateRangeInput.Model
extends CAF.DateInput.Model


CAF DateRangeInput client-side model.
Defined in date.js


Field Summary
 Object classes
          
   
Fields inherited from class CAF.DateInput.Model
classes
   
Fields inherited from class CAF.Input.Model
classes
   
Fields inherited from class CAF.Output.Model
id, form
 
Constructor Summary
CAF.DateRangeInput.Model ()
           
 
Method Summary
 Object getValue()
           Gets this control's value, an CAF.DateRangeInput.Value.Model object.
 void initialize(element)
           Initializer.
 Object isEmpty()
           Returns true if a value hasn't been entered for this control (ie should fail "required" validation).
 void recalculateRange()
           Re-calculate range based on changes to start or end values.
 void recalculateStartAndEnd()
           Re-calculate start and end based on change to range value.
 void setValue(value)
           Sets this control's value, an CAF.DateRangeInput.Value.Model object.
 
Methods inherited from class CAF.DateInput.Model
isDisabled, setDisabled, isFocused, setFocused
   
Methods inherited from class CAF.Input.Model
addValidator, removeValidator, listValidators, validate, getLabel, setLabel
   
Methods inherited from class CAF.Output.Model
toString, equals, isVisible, setVisible, hide, _reapplyOriginalStyle, show, toggle, refresh, reAttachBehaviors, refreshWhenVisible, addRefreshCompleteListener, removeRefreshCompleteListener, listRefreshCompleteListeners, addToggleListener, removeToggleListener, listToggleListeners
 

Field Detail

classes

Object classes

Constructor Detail

CAF.DateRangeInput.Model

CAF.DateRangeInput.Model()

Method Detail

getValue

Object getValue()

initialize

void initialize(element)

isEmpty

Object isEmpty()

recalculateRange

void recalculateRange()

recalculateStartAndEnd

void recalculateStartAndEnd()

setValue

void setValue(value)

CAF Shared JavaScript

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