# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.IntegerField
Search:
Filters Show Private Show Protected Show Deprecated

## 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 inherited from inputEx.Field:

`options`

### Methods

#### getValue

`int getValue ( )`
Get the value

Returns: `int`
  The integer value

#### setOptions

`void setOptions ( options )`
Adds the negative, min, and max options

Parameters:
  `options <Object>`

#### validate

`void validate ( )`
Validate if is a number

#### Methods inherited from inputEx.Field:

`clear, close, destroy, disable, displayMessage, enable, fireUpdatedEvt, focus, getEl, getParentField, getState, getStateString, getValue, hide, initEvents, isDisabled, isEmpty, onBlur, onChange, onFocus, render, renderComponent, setClassFromState, setFieldName, setOptions, setParentField, setValue, show, validate`

#### Methods inherited from inputEx.StringField:

`disable, enable, focus, getStateString, getValue, initEvents, isDisabled, onFocus, renderComponent, setClassFromState, setFieldName, setOptions, setValue, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.