|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--CAF.Output.Model | +--CAF.Input.Model | +--CAF.DateInput.Model | +--CAF.DateRangeInput.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
|
Field Detail |
Object classes
Constructor Detail |
CAF.DateRangeInput.Model()
Method Detail |
Object getValue()
void initialize(element)
element
- Input control element or id.
Object isEmpty()
void recalculateRange()
void recalculateStartAndEnd()
void setValue(value)
|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |