inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.TimeField 0.2.2

## Static Class inputEx.TimeField - extends inputEx.CombineField

A field limited to number inputs (floating)

### Constructor

inputEx.TimeField `( options )`

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

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

`<String> getValue()`
Returns a string like HH:MM:SS
Returns:

`<String>` Hour string

#### setValue

`setValue(str[,sendUpdatedEvt])`
Set the value
Parameters:

`str <String>` - Hour string (format HH:MM:SS)

`sendUpdatedEvt <boolean>` optional - (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

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

`setOptions, renderField, setClassFromState, renderComponent, appendSeparator, validate, isEmpty, clear,`

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

`focus, getEl, fireUpdatedEvt, show, close, onBlur, onFocus, getStateString, disable, onChange, render, updatedEvt, initEvents, getState, hide, displayMessage, destroy, enable,`

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.