Class sap.ui.commons.ProgressIndicatorModule: sap/ui/commons/ProgressIndicator
Shows the progress of a process in a graphical way. The indicator can be displayed with or without numerical values. The filling can be displayed in color only, or additionally with the percentage rate. The indicator status can be interactive.
Deprecated API:Since version 1.38. Instead, use the sap.m.ProgressIndicator
control.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- enabled : boolean (default: true)
- barColor : sap.ui.core.BarColor (default: NEUTRAL)
- displayValue : string (default: 0%)
- percentValue : int (default: 0)
- showValue : boolean (default: true)
- width : sap.ui.core.CSSSize (default: 100%)
In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.
{string} | sId? | ID for the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
- Deprecated:
- Since version 1.38. Instead, use the
sap.m.ProgressIndicator
control.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Control.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
barColor
. Determines the color of the bar which visualizes the progress. Possible values defined in the sap.ui.core.BarColor enumeration are the following: CRITICAL (yellow), NEGATIVE (red), POSITIVE (green), NEUTRAL (blue) (default value).
Default value is NEUTRAL
.
{sap.ui.core.BarColor} | Value of property barColor |
displayValue
. Determines the text value that will be displayed in the bar.
Default value is 0%
.
{string} | Value of property displayValue |
enabled
. Determines whether the control is enabled or not. Disabled controls have different colors, and can not be focused.
Default value is true
.
{boolean} | Value of property enabled |
percentValue
. Determines the numerical value for the displayed length of the progress bar.
Default value is 0
.
{int} | Value of property percentValue |
showValue
. Determines whether the percent value shall be rendered inside the bar.
Default value is true
.
{boolean} | Value of property showValue |
width
. Determines the width of the control.
Default value is 100%
.
{sap.ui.core.CSSSize} | Value of property width |
barColor
. Determines the color of the bar which visualizes the progress. Possible values defined in the sap.ui.core.BarColor enumeration are the following: CRITICAL (yellow), NEGATIVE (red), POSITIVE (green), NEUTRAL (blue) (default value).
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is NEUTRAL
.
{sap.ui.core.BarColor} | sBarColor | New value for property barColor |
{sap.ui.commons.ProgressIndicator} | Reference to this in order to allow method chaining |
displayValue
. Determines the text value that will be displayed in the bar.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0%
.
{string} | sDisplayValue | New value for property displayValue |
{sap.ui.commons.ProgressIndicator} | Reference to this in order to allow method chaining |
enabled
. Determines whether the control is enabled or not. Disabled controls have different colors, and can not be focused.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bEnabled | New value for property enabled |
{sap.ui.commons.ProgressIndicator} | Reference to this in order to allow method chaining |
{int} | iPercentValue | The new percent value of the ProgressIndicator. |
{sap.ui.commons.ProgressIndicator} | this to allow method chaining. |
showValue
. Determines whether the percent value shall be rendered inside the bar.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bShowValue | New value for property showValue |
{sap.ui.commons.ProgressIndicator} | Reference to this in order to allow method chaining |
width
. Determines the width of the control.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 100%
.
{sap.ui.core.CSSSize} | sWidth | New value for property width |
{sap.ui.commons.ProgressIndicator} | Reference to this in order to allow method chaining |