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 Options Defined 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
  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
  height : Number
The height of this component in pixels (defaults to auto).
BoxComponent
  hidden : Boolean
Render this component hidden (default is false).
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
  width : Number
The width of this component in pixels (defaults to auto).
BoxComponent
  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

Property Defined 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

Method Defined By

Public Events

Event Defined By