inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.IntegerField 0.2.2

## 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

#### static groupOptions `- Object`

group Options for each field

#### options `- Object`

Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.

### Methods

#### getValue

`<int> getValue()`
Get the value
Returns:

`<int>` The integer value

#### setOptions

`setOptions(options)`
Adds the negative option
Parameters:

`options <Object>`

#### validate

`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,`

#### Methods inherited from class inputEx.StringField:

`initEvents, updateTypeInvite, disable, enable, setValue, onFocus, renderComponent, focus, onKeyUp, onKeyPress, setClassFromState, getStateString,`

Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:31 GMT using neyricjslibs-template.