Zapatec.Spinner

Overview | File | Class | Tree | Index | Help

Zapatec Utils

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class Zapatec.Spinner

    Object
       |
       +--Zapatec.EventDriven
             |
             +--Zapatec.Widget
                   |
                   +--Zapatec.Spinner

class Zapatec.Spinner
extends Zapatec.Widget

Defined in spinner.js

Fields inherited from class Zapatec.Widget
`config`

Constructor Summary
`Zapatec.Spinner(<object> objArgs)` Zapatec.Spinner constructor.

Method Summary
`void` | `createSpinner()` Creates elements needed by the spinner
`Object` | `getValue()` Gets current spinner value
`void` | `init(<object> objArgs)` Initializes object.
`void` | `setValue(<number> value)` Sets current spinner value
`void` | `updateText()` Update spinner text based on current value
`<static> Object` | `generateString()`

Methods inherited from class Zapatec.Widget
`reconfigure, getConfiguration, addCircularRef, createProperty, discard, defineConfigOption, addUserEventListeners, addStandardEventListeners, loadTheme, getClassName, formElementId, showContainer, hideContainer, showHideContainer, loadData, loadDataHtml, loadDataHtmlText, loadDataJson, loadDataXml, receiveData, replyData, replyDataCancel, replyDataReturn, acceptData, getMessage`

Methods inherited from class Zapatec.EventDriven
`addEventListener, unshiftEventListener, removeEventListener, getEventListeners, isEventListener, isEvent, removeEvent, fireEvent`

Constructor Detail

### Zapatec.Spinner

    Zapatec.Spinner(<object> objArgs)

Zapatec.Spinner constructor. Creates a new spinner object with given parameters.

Parameters:

`objArgs` - Spinner configuration

Method Detail

### createSpinner

    void createSpinner()

Creates elements needed by the spinner

### getValue

    Object getValue()

Gets current spinner value

### init

    void init(<object> objArgs)

Initializes object.

Parameters:

`objArgs` - User configuration

### setValue

    void setValue(<number> value)

Sets current spinner value

Parameters:

`value` - New spinner value

### updateText

    void updateText()

Update spinner text based on current value

Parameters:

`value` - New spinner value

### generateString

    <static> Object generateString()

Overview | File | Class | Tree | Index | Help

Zapatec Utils

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Aug 16 12:18:39 2007