Zapatec.ProgressBar

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.ProgressBar

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

class Zapatec.ProgressBar
extends Zapatec.Widget

Defined in progressbar.js

Fields inherited from class Zapatec.Widget
`config`

Constructor Summary
`Zapatec.ProgressBar(<object> objArgs)` ProgressBar class.

Method Summary
`Object` | `calculatePercentage()`
`Object` | `calculateWidth()`
`void` | `cancel()` Fires cancel event
`void` | `displayLabel()` Displays labels
`float` | `getProgress()` Get current progress
`void` | `hide()` Hides ProgressBar
`void` | `init(<object> objArgs)` Initializes object.
`void` | `redraw()` Redraws Progressbar after changing of currentValue
`Object` | `setProgress(value)` Set new progress value

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.ProgressBar

    Zapatec.ProgressBar(<object> objArgs)

ProgressBar class.

Parameters:

`objArgs` - User configuration

Method Detail

### calculatePercentage

    Object calculatePercentage()

### calculateWidth

    Object calculateWidth()

### cancel

    void cancel()

Fires cancel event

### displayLabel

    void displayLabel()

Displays labels

### getProgress

    float getProgress()

Get current progress

Returns:

Current progress value

### hide

    void hide()

Hides ProgressBar

### init

    void init(<object> objArgs)

Initializes object.

Parameters:

`objArgs` - User configuration

### redraw

    void redraw()

Redraws Progressbar after changing of currentValue

### setProgress

    Object setProgress(value)

Set new progress value

Parameters:

`value` - Progress value

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