|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.Control
com.sap.ui.commons.client.ProgressIndicator
public class ProgressIndicator
The class ProgressIndicator is the GWT wrapper
for the Phoenix control: sap.ui.commons.ProgressIndicator.
This control can be used to e.g. visualize the progress of an activity.
| Constructor Summary | |
|---|---|
protected |
ProgressIndicator()
constructs the class ProgressIndicatorhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static ProgressIndicator |
create()
creates a new instance of the class ProgressIndicator |
static ProgressIndicator |
create(String idOrConfig)
creates a new instance of the class ProgressIndicator |
static ProgressIndicator |
create(String id,
String config)
creates a new instance of the class ProgressIndicator |
com.sap.ui.core.client.BarColor |
getBarColor()
Getter for property barColor
The color of the ProgressIndicator bar. |
String |
getDisplayValue()
Getter for property displayValue
The text value to display in the ProgressIndicator. |
int |
getPercentValue()
Getter for property percentValue
The numerical value between 0 and 100 which determines the position of the ProgressIndicator bar. |
String |
getWidth()
Getter for property width
The width of the ProgressIndicator. |
boolean |
isEnabled()
Getter for property enabled
Switches enabled state of the control. |
boolean |
isShowValue()
Getter for property showValue
Determines whether the current value should be rendered inside the bar. |
boolean |
isVisible()
Getter for property visible
The visibility of the ProgressIndicator. |
ProgressIndicator |
setBarColor(com.sap.ui.core.client.BarColor value)
Setter for property barColorDefault value is: NEUTRAL |
ProgressIndicator |
setDisplayValue(String value)
Setter for property displayValueDefault value is: 0% |
ProgressIndicator |
setEnabled(boolean value)
Setter for property enabledDefault value is: true |
ProgressIndicator |
setPercentValue(int value)
Setter for property percentValueDefault value is: 0 |
ProgressIndicator |
setShowValue(boolean value)
Setter for property showValueDefault value is: true |
ProgressIndicator |
setVisible(boolean value)
Setter for property visibleDefault value is: true |
ProgressIndicator |
setWidth(String value)
Setter for property widthDefault value is: 100% |
| Methods inherited from class com.sap.ui.core.client.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ProgressIndicator()
ProgressIndicatorJavaScriptObject restriction
| Method Detail |
|---|
public static ProgressIndicator create()
ProgressIndicator
public static ProgressIndicator create(String idOrConfig)
ProgressIndicator
id - id of the ProgressIndicator or configuration JSON string
public static ProgressIndicator create(String id,
String config)
ProgressIndicator
id - id of the ProgressIndicatorconfig - configuration JSON stringpublic final boolean isVisible()
visible
The visibility of the ProgressIndicator. Invisible controls are not rendered.
public final ProgressIndicator setVisible(boolean value)
visibletrue
value - boolean
this to allow method chainingpublic final boolean isEnabled()
enabled
Switches enabled state of the control. Disabled fields have different colors, and can not be focused.
public final ProgressIndicator setEnabled(boolean value)
enabledtrue
value - boolean
this to allow method chainingpublic final com.sap.ui.core.client.BarColor getBarColor()
barColor
The color of the ProgressIndicator bar.
public final ProgressIndicator setBarColor(com.sap.ui.core.client.BarColor value)
barColorNEUTRAL
value - com.sap.ui.core.client.BarColor
this to allow method chainingpublic final String getDisplayValue()
displayValue
The text value to display in the ProgressIndicator. If not set, there will be nothing displayed.
public final ProgressIndicator setDisplayValue(String value)
displayValue0%
value - String
this to allow method chainingpublic final int getPercentValue()
percentValue
The numerical value between 0 and 100 which determines the position of the ProgressIndicator bar.
public final ProgressIndicator setPercentValue(int value)
percentValue0
value - int
this to allow method chainingpublic final boolean isShowValue()
showValue
Determines whether the current value should be rendered inside the bar.
public final ProgressIndicator setShowValue(boolean value)
showValuetrue
value - boolean
this to allow method chainingpublic final String getWidth()
width
The width of the ProgressIndicator.
public final ProgressIndicator setWidth(String value)
width100%
value - String
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||