Package org.patternfly.component.progress


package org.patternfly.component.progress
Provides the PatternFly progress component.

A progress component displays the completion status of an activity or task. It supports different sizes, measure locations (inside, outside, or none), and status variants for success, warning, danger, and info states.

Usage

import static org.patternfly.component.progress.Progress.progress;

Progress progress = progress()
        .title("Title")
        .value(33);
A progress bar with status and measure location:
import static org.patternfly.component.progress.MeasureLocation.inside;
import static org.patternfly.component.progress.Progress.progress;
import static org.patternfly.style.Status.success;

Progress progress = progress()
        .measureLocation(inside)
        .status(success)
        .title("Completed")
        .value(100);
See Also:
  • Class
    Description
    Defines where the progress measure label is displayed relative to the Progress bar.
    A progress bar informs users about the completion status of an ongoing process or task.
    Functional interface for providing a custom label string for a Progress component.