Methods | This Package | All Packages

ProgressBar Class

Encapsulates the ProgressBar control.

Component
  |
  +--Control
    |
    +--ProgressBar

package com.ms.wfc.ui

public final class ProgressBar
extends
Control

Remarks

A progress bar is a window that an application uses to indicate visually the progress of a lengthy operation.

The ProgressBar control consists of a window that is filled, from left to right, with the system highlight color as an operation progresses. A ProgressBar control has a range and a current position.

The range represents the entire duration of the operation. For example, to map the progress of a file copy, the range of the operation might be 100 percent. The current position represents the progress that the application has made toward completing the operation. The control itself uses the range and the current position to determine the percentage of the ProgressBar control to fill, and to determine what text, if any, to display on the ProgressBar.

Because the range and current position on a ProgressBar control are expressed as unsigned integers, the highest possible range and current position value is 65,535.