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 asymchronous 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
  autoHeight : Boolean
True to use height:'auto', false to use fixed height (defaults to false).
BoxComponent
  autoWidth : Boolean
True to use width:'auto', false to use fixed width (defaults to false).
BoxComponent
  baseCls : String
The base CSS class to apply to the progress bar's wrapper element (defaults to 'x-progress')
ProgressBar
  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
  id : String
The progress bar element's id (defaults to an auto-generated id)
ProgressBar
  stateId : String
The unique id for this component to use for state management purposes (defaults to the component id).
Component
  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

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