Class Progress
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,Progress>
org.patternfly.component.progress.Progress
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,Progress> ElementClassListMethods<HTMLElement,,Progress> ElementConsumerMethods<HTMLElement,,Progress> ElementContainerMethods<HTMLElement,,Progress> ElementEventMethods<HTMLElement,,Progress> ElementIdMethods<HTMLElement,,Progress> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,Progress> HTMLElementDataMethods<HTMLElement,,Progress> HTMLElementStyleMethods<HTMLElement,,Progress> HTMLElementVisibilityMethods<HTMLElement,,Progress> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Progress> Component,HasValue<Integer>
A progress bar informs users about the completion status of an ongoing process or task.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(HelperText helperText) addHelperText(HelperText helperText) ariaLabeledBy(String labeledBy) voiddecrease()Decreases the value of the progress component by the step value.voidincrease()Increases the value of the progress component by the step value.label(ProgressLabel label) intmax()Retrieves the maximum value of the progress component.max(int max) measureLocation(MeasureLocation location) intmin()Retrieves the minimum value of the progress component.min(int min) Sets the change handler for the progress component.static Progressprogress()int[]range()Retrieves the range of values for the progress component.range(int min, int max) range(int min, int max, int step) size(org.patternfly.style.Size size) status(org.patternfly.style.Status status) intstep()Retrieves the current step value of the progress component.step(int step) that()truncate()value()value(int value) Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hidden
-
Method Details
-
progress
-
addHelperText
-
add
-
min
-
max
-
step
-
range
-
range
-
label
-
measureLocation
-
size
-
status
-
title
- Specified by:
titlein interfaceHTMLElementAttributeMethods<HTMLElement,Progress>
-
truncate
-
value
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Progress>
-
ariaLabel
-
ariaLabeledBy
-
onChange
Sets the change handler for the progress component.- Parameters:
changeHandler- The change handler to be set.- Returns:
- The progress component.
-
decrease
public void decrease()Decreases the value of the progress component by the step value. If the new value is less than the minimum value, the minimum value is used instead. -
increase
public void increase()Increases the value of the progress component by the step value. If the new value is greater than the maximum value, the maximum value is used instead. -
min
public int min()Retrieves the minimum value of the progress component.- Returns:
- The minimum value of the progress component.
-
max
public int max()Retrieves the maximum value of the progress component.- Returns:
- The maximum value of the progress component.
-
step
public int step()Retrieves the current step value of the progress component.- Returns:
- The current step value of the progress component.
-
range
public int[] range()Retrieves the range of values for the progress component.- Returns:
- An array containing the minimum, maximum, and step values of the Progress component.
-
value
-