Class sap.me.ProgressIndicatorModule: sap/me/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.14. This control is replaced by sap.m.ProgressIndicator
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
- visible : boolean (default: true)
- 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.14. This control is replaced by sap.m.ProgressIndicator
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
. The color of the bar. Enumeration sap.ui.core.BarColor provides CRITICAL (yellow), NEGATIVE (red), POSITIVE (green), NEUTRAL (blue) (default value).
Default value is NEUTRAL
.
{sap.ui.core.BarColor} | Value of property barColor |
displayValue
. The text value to be displayed in the bar.
Default value is 0%
.
{string} | Value of property displayValue |
enabled
. Switches enabled state of the control. Disabled fields have different colors, and cannot be focused.
Default value is true
.
{boolean} | Value of property enabled |
percentValue
. The numerical value for the displayed length of the progress bar.
Default value is 0
.
{int} | Value of property percentValue |
showValue
. Specifies whether the current value shall be rendered inside the bar.
Default value is true
.
{boolean} | Value of property showValue |
visible
. Invisible controls are not rendered
Default value is true
.
{boolean} | Value of property visible |
width
. The width of the control.
Default value is 100%
.
{sap.ui.core.CSSSize} | Value of property width |
barColor
. The color of the bar. Enumeration sap.ui.core.BarColor provides 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.me.ProgressIndicator} | Reference to this in order to allow method chaining |
displayValue
. The text value to 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.me.ProgressIndicator} | Reference to this in order to allow method chaining |
enabled
. Switches enabled state of the control. Disabled fields have different colors, and cannot 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.me.ProgressIndicator} | Reference to this in order to allow method chaining |
iPercentValue |
{sap.me.ProgressIndicator} | this to allow method chaining |
showValue
. Specifies whether the current 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.me.ProgressIndicator} | Reference to this in order to allow method chaining |
visible
. Invisible controls are not rendered
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bVisible | New value for property visible |
{sap.me.ProgressIndicator} | Reference to this in order to allow method chaining |
width
. 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.me.ProgressIndicator} | Reference to this in order to allow method chaining |