|
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.Checkbox.Model
CAF checkbox client-side model.
Defined in core.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.Checkbox.Model
()
|
Method Summary | |
Object
|
getLabel()
Gets input's label HTML (if input has label). |
Object
|
getValue()
Gets this control's string or string array value. |
void
|
initialize(element)
Initializer. |
Object
|
setDisabled(disabled)
Sets this control as disabled or enabled. |
void
|
setLabel(label)
Sets input's label HTML (if input has label). |
void
|
setValue(value)
Sets this control's string or string array value. |
Methods inherited from class CAF.Input.Model |
isFocused, setFocused, isEmpty, addValidator, removeValidator, listValidators, validate, addValueChangeListener, removeValueChangeListener, listValueChangeListeners
|
Field Detail |
Object classes
Constructor Detail |
CAF.Checkbox.Model()
Method Detail |
Object getLabel()
Object getValue()
void initialize(element)
element
- Input control element or id.
Object setDisabled(disabled)
void setLabel(label)
Un
- -escaped input label.
void setValue(value)
value
- "true" (as string) if checked; any other value if not checked;
|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |