Static Class inputEx.IntegerField
- extends inputEx.StringField
A field limited to number inputs
Constructor
inputEx.IntegerField
( options )
- Parameters:
-
options <Object>
- Added options:
- negative: boolean indicating if we accept boolean numbers
Properties
group Options for each field
Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.
Methods
<int> getValue()
Get the value
setOptions(options)
Adds the negative option
validate()
Validate if is a number
Methods inherited from class inputEx.Field:
getEl,
fireUpdatedEvt,
show,
close,
onBlur,
onChange,
render,
updatedEvt,
getState,
hide,
displayMessage,
destroy,
isEmpty,
clear,
initEvents,
updateTypeInvite,
disable,
enable,
setValue,
onFocus,
renderComponent,
focus,
onKeyUp,
onKeyPress,
setClassFromState,
getStateString,