Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      ProgressBar

Class Ext.ProgressBar

Package:Ext
Defined In:ProgressBar.js
Class:ProgressBar
Extends:BoxComponent

An updateable progress bar component. The progress bar supports two different modes: manual and automatic.

In manual mode, you are responsible for showing, updating (via updateProgress) and clearing the progress bar as needed from your own code. This method is most appropriate when you want to show progress throughout an operation that has predictable points of interest at which you can update the control.

In automatic mode, you simply call wait and let the progress bar run indefinitely, only clearing it once the operation is complete. You can optionally have the progress bar wait for a specific amount of time and then clear itself. Automatic mode is most appropriate for timed operations or asynchronous operations in which you have no need for indicating intermediate progress.

Config Options

Config OptionsDefined By
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 animate : Boolean
True to animate the progress bar during transitions (defaults to false)
ProgressBar
 baseCls : String
The base CSS class to apply to the progress bar's wrapper element (defaults to 'x-progress')
ProgressBar
 data : Mixed
The initial set of data to apply to the tpl to update the content area of the Component.
Component
 disabled : Boolean
Render this component disabled (default is false).
Component
 disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
 hidden : Boolean
Render this component hidden (default is false). If true, the hide method will be called internally.
Component
 id : String
The progress bar element's id (defaults to an auto-generated id)
ProgressBar
 pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
 pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
 text : String
The progress bar text (defaults to '')
ProgressBar
 textEl : Mixed
The element to render the progress text to (defaults to the progress bar's internal text element)
ProgressBar
 value : Float
A floating point value between 0 and 1 (e.g., .5, defaults to 0)
ProgressBar
 x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
 y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

PropertyDefined By
 disabled : Boolean
True if this component is disabled. Read-only.
Component
 hidden : Boolean
True if this component is hidden. Read-only.
Component
 initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By

Public Events

EventDefined By