|
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.PagingJumper.Model
Abstract paging jumper client-side model.
Defined in pager.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.PagingJumper.Model
()
|
Method Summary | |
Object
|
getDefaultValue()
Default value as a non-null string. |
Object
|
getValue()
Gets this control's string or string array value. |
Object
|
go(value)
Jumps to the specified value. |
void
|
hideJump()
Hides the jump to page dialog. |
void
|
initialize(element)
Initializer. |
Object
|
isFocused()
Returns true if this control is focused. |
Object
|
isValid(value)
Returns true if the specified value is valid. |
Object
|
jump()
Jumps to the page specified by the jump to page dialog. |
Object
|
keypress(event)
Handles keypresses in the jump to page dialog. |
Object
|
setDisabled(disabled)
Sets this control as disabled or enabled. |
Object
|
setFocused(focus)
Sets this control as focused or not focused. |
void
|
setValue(value)
Sets this control's string or string array value. |
void
|
showJump()
Shows the jump to page dialog. |
Methods inherited from class CAF.Input.Model |
isEmpty, addValidator, removeValidator, listValidators, validate, addValueChangeListener, removeValueChangeListener, listValueChangeListeners, getLabel, setLabel
|
Field Detail |
Object classes
Constructor Detail |
CAF.PagingJumper.Model()
Method Detail |
Object getDefaultValue()
Object getValue()
Object go(value)
void hideJump()
void initialize(element)
element
- Input control element or id.
Object isFocused()
Object isValid(value)
Object jump()
Object keypress(event)
Object setDisabled(disabled)
Object setFocused(focus)
void setValue(value)
value
- String value, or in the case of a control with multiple values, an array of string values. If the control has no value, pass an empty string ("") or an empty arry ([]); never null.
void showJump()
|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |