You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Progress Meter Requirements

Written by Eric Vaughan
Last updated 2/24/99

Overview

A Progress Meter is a very simple UI object which displays the percentage complete of a given task, or in the case where the length of a the task cannot be determined, an animation to demonstrate the task is not yet complete.

Requirements

  • Must support 2 modes. One mode where the time of completion is known and the other when the time to completion is unknown.

    Known

    Unknown

    progress.gif (1163 bytes)

    (Note: This is not the final look that will be determined later by the UI team)

  • There must be a method of setting and getting current the mode.
  • There must be a method of setting and getting the current percentage complete.
  • Percent must be an integer value between 0 and 100.
  • The way to access the state of the progress meter should be through the DOM

Considerations

Building on top of the Progress Widget.

The progress widget by itself is very simple. It might be useful to build a progress dialog on top of this as well. However this may be a project for XPApps.

It would probably have the following features:

  • Option to be modal or non-modal
  • Some message text that can be displayed
  • Cancel button

Other additions might be a convenience function to interface easily with Netlib but a case can be made that this is out of the scope of the Toolkit.