Class GeneratedVaadinProgressBar<R extends GeneratedVaadinProgressBar<R>>
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.progressbar.GeneratedVaadinProgressBar<R>
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasTheme,Serializable
- Direct Known Subclasses:
ProgressBar
@Deprecated @Tag("vaadin-progress-bar") @NpmPackage(value="@vaadin/polymer-legacy-adapter", version="23.3.28") @JsModule("@vaadin/polymer-legacy-adapter/style-modules.js") @JsModule("@vaadin/progress-bar/src/vaadin-progress-bar.js") public abstract class GeneratedVaadinProgressBar<R extends GeneratedVaadinProgressBar<R>> extends com.vaadin.flow.component.Component implements com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
<vaadin-progress-bar>is a Web Component for progress bars.<vaadin-progress-bar min="0" max="1" value="0.5"> </vaadin-progress-bar>
Styling
The following shadow DOM parts are available for styling:
Part name Description barProgress-bar's background valueProgress-bar's foreground See ThemableMixin – how to apply styles for shadow parts
The following custom properties are available:
Custom property Description Default --vaadin-progress-valuecurrent progress value (between 0 and 1) 0 The following state attributes are available for styling:
Attribute Description Part name indeterminateSet to an indeterminate progress bar :host - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeneratedVaadinProgressBar()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddThemeVariants(ProgressBarVariant... variants)Deprecated.since v23.3, generated classes will be removed in v24.protected doublegetMaxDouble()Deprecated.since v23.3, generated classes will be removed in v24.protected doublegetMinDouble()Deprecated.since v23.3, generated classes will be removed in v24.protected doublegetValueDouble()Deprecated.since v23.3, generated classes will be removed in v24.protected booleanisIndeterminateBoolean()Deprecated.since v23.3, generated classes will be removed in v24.voidremoveThemeVariants(ProgressBarVariant... variants)Deprecated.since v23.3, generated classes will be removed in v24.protected voidsetIndeterminate(boolean indeterminate)Deprecated.since v23.3, generated classes will be removed in v24.protected voidsetMax(double max)Deprecated.since v23.3, generated classes will be removed in v24.protected voidsetMin(double min)Deprecated.since v23.3, generated classes will be removed in v24.protected voidsetValue(double value)Deprecated.since v23.3, generated classes will be removed in v24.-
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
addThemeVariants
@Deprecated public void addThemeVariants(ProgressBarVariant... variants)
Deprecated.since v23.3, generated classes will be removed in v24. UseProgressBar.addThemeVariants(com.vaadin.flow.component.progressbar.ProgressBarVariant...)instead.Adds theme variants to the component.- Parameters:
variants- theme variants to add
-
removeThemeVariants
@Deprecated public void removeThemeVariants(ProgressBarVariant... variants)
Deprecated.since v23.3, generated classes will be removed in v24. UseProgressBar.removeThemeVariants(com.vaadin.flow.component.progressbar.ProgressBarVariant...)instead.Removes theme variants from the component.- Parameters:
variants- theme variants to remove
-
getValueDouble
@Deprecated protected double getValueDouble()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Current progress value.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
- Returns:
- the
valueproperty from the webcomponent
-
setValue
@Deprecated protected void setValue(double value)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Current progress value.
- Parameters:
value- the double value to set
-
getMinDouble
@Deprecated protected double getMinDouble()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Minimum bound of the progress bar.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
- Returns:
- the
minproperty from the webcomponent
-
setMin
@Deprecated protected void setMin(double min)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Minimum bound of the progress bar.
- Parameters:
min- the double value to set
-
getMaxDouble
@Deprecated protected double getMaxDouble()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Maximum bound of the progress bar.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
- Returns:
- the
maxproperty from the webcomponent
-
setMax
@Deprecated protected void setMax(double max)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Maximum bound of the progress bar.
- Parameters:
max- the double value to set
-
isIndeterminateBoolean
@Deprecated protected boolean isIndeterminateBoolean()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Indeterminate state of the progress bar. This property takes precedence over other state properties (min, max, value).
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
- Returns:
- the
indeterminateproperty from the webcomponent
-
setIndeterminate
@Deprecated protected void setIndeterminate(boolean indeterminate)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Indeterminate state of the progress bar. This property takes precedence over other state properties (min, max, value).
- Parameters:
indeterminate- the boolean value to set
-
-