# inputEx-library

### inputEx 0.5.1

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

## Class inputEx.VectorField - extends inputEx.Field

A field limited to number inputs (floating)

### Constructor

inputEx.VectorField `( options )`

Parameters:
  `options <Object>` inputEx.Field options object

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### addChoice

`void addChoice ( ) )`
Add a choice

Parameters:
  `) <Object} config An object describing the choice to add (e.g. { value: 'second' [, label: 'Second' [, position: 1 || after: 'First' || before: 'Third']] >`

#### disableChoice

`void disableChoice ( ) )`
Disable a choice

Parameters:
  `) <Object} config An object targeting the choice to disable (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >`

#### enableChoice

`void enableChoice ( ) )`
Enable a choice

Parameters:
  `) <Object} config An object targeting the choice to enable (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >`

#### getChoicePosition

`void getChoicePosition ( ) )`
Get the position of a choice in choicesList (NOT in the DOM)

Parameters:
  `) <Object} config An object targeting the choice (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >`

#### hideChoice

`void hideChoice ( ) )`
Hide a choice

Parameters:
  `) <Object} config An object targeting the choice to hide (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >`

#### removeChoice

`void removeChoice ( ) )`
Remove a choice

Parameters:
  `) <Object} config An object targeting the choice to remove (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >`

#### setOptions

`void setOptions ( )`
Additional options for VectorField (dimension, size)

#### showChoice

`void showChoice ( ) )`
Show a choice

Parameters:
  `) <Object} config An object targeting the choice to show (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >`

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

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.