|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro ProgressIndicator API. The ProgressIndicator UI element shows the progress of an activity in the form of a horizontal bar, along with the value of the percentValue property. You can also display a text in the progress bar using the displayValue property. This makes it possible to associate descriptions with specific percentage values. You can hide the display value using the showValue property. You can display the ProgessIndicator in different colors using the barColor property.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static WDProgressIndicatorBarColor |
DEFAULT_BAR_COLOR
Default value of property barColor. |
static java.lang.String |
DEFAULT_DISPLAY_VALUE
Default value of property displayValue. |
static int |
DEFAULT_PERCENT_VALUE
Default value of property percentValue. |
static boolean |
DEFAULT_SHOW_VALUE
Default value of property showValue. |
static java.lang.String |
DEFAULT_WIDTH
Default value of property width. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindBarColor(IWDAttributeInfo attributeInfo)
Binds property barColor to the context attribute
specified by the given attribute info. |
void |
bindBarColor(java.lang.String path)
Binds property barColor to the context attribute
specified by path. |
void |
bindDisplayValue(IWDAttributeInfo attributeInfo)
Binds property displayValue to the context attribute
specified by the given attribute info. |
void |
bindDisplayValue(java.lang.String path)
Binds property displayValue to the context attribute
specified by path. |
java.lang.String |
bindingOfBarColor()
Binding path of property barColor. |
java.lang.String |
bindingOfDisplayValue()
Binding path of property displayValue. |
java.lang.String |
bindingOfPercentValue()
Binding path of property percentValue. |
java.lang.String |
bindingOfShowValue()
Binding path of property showValue. |
java.lang.String |
bindingOfWidth()
Binding path of property width. |
void |
bindPercentValue(IWDAttributeInfo attributeInfo)
Binds property percentValue to the context attribute
specified by the given attribute info. |
void |
bindPercentValue(java.lang.String path)
Binds property percentValue to the context attribute
specified by path. |
void |
bindShowValue(IWDAttributeInfo attributeInfo)
Binds property showValue to the context attribute
specified by the given attribute info. |
void |
bindShowValue(java.lang.String path)
Binds property showValue to the context attribute
specified by path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds property width to the context attribute
specified by the given attribute info. |
void |
bindWidth(java.lang.String path)
Binds property width to the context attribute
specified by path. |
WDProgressIndicatorBarColor |
getBarColor()
Returns the value of the barColor property. |
java.lang.String |
getDisplayValue()
Returns the value of the displayValue property. |
int |
getPercentValue()
Returns the value of the percentValue property. |
boolean |
getShowValue()
Returns the value of the showValue property. |
java.lang.String |
getWidth()
Returns the value of the width property. |
void |
setBarColor(WDProgressIndicatorBarColor value)
Sets property barColor to the new value. |
void |
setDisplayValue(java.lang.String value)
Sets property displayValue to the new value. |
void |
setPercentValue(int value)
Sets property percentValue to the new value. |
void |
setShowValue(boolean value)
Sets property showValue to the new value. |
void |
setWidth(java.lang.String value)
Sets property width to the new value. |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
bindEnabled, bindEnabled, bindingOfEnabled, bindingOfTooltip, bindingOfVisible, bindTooltip, bindTooltip, bindVisible, bindVisible, createLayoutData, getContainer, getEnabled, getLayoutData, getTooltip, getVisible, setEnabled, setTooltip, setVisible |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final WDProgressIndicatorBarColor DEFAULT_BAR_COLOR
barColor.public static final java.lang.String DEFAULT_DISPLAY_VALUE
displayValue.public static final int DEFAULT_PERCENT_VALUE
percentValue.public static final boolean DEFAULT_SHOW_VALUE
showValue.public static final java.lang.String DEFAULT_WIDTH
width.| Method Detail |
public void bindBarColor(java.lang.String path)
barColor to the context attribute
specified by path.path - the path of the context attribute to which the barColor
property is boundpublic void bindBarColor(IWDAttributeInfo attributeInfo)
barColor to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
barColor property is boundpublic java.lang.String bindingOfBarColor()
barColor.public WDProgressIndicatorBarColor getBarColor()
barColor property.
The initial value is WDProgressIndicatorBarColor.NEUTRAL.
The logical color of the progress indicator.setBarColor(WDProgressIndicatorBarColor)public void setBarColor(WDProgressIndicatorBarColor value)
barColor to the new value.value - the new value of the barColor propertygetBarColor()public void bindDisplayValue(java.lang.String path)
displayValue to the context attribute
specified by path.path - the path of the context attribute to which the displayValue
property is boundpublic void bindDisplayValue(IWDAttributeInfo attributeInfo)
displayValue to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
displayValue property is boundpublic java.lang.String bindingOfDisplayValue()
displayValue.public java.lang.String getDisplayValue()
displayValue property.
The initial value is "".
Used to display a textual value on the left side of the progress bar.
An application may set this value to display texts like "done" or
"critical" for corresponding percentage values. If this value is not
explicitely specified, a text like "42%" is shown.setDisplayValue(String)public void setDisplayValue(java.lang.String value)
displayValue to the new value.value - the new value of the displayValue propertygetDisplayValue()public void bindPercentValue(java.lang.String path)
percentValue to the context attribute
specified by path.path - the path of the context attribute to which the percentValue
property is boundpublic void bindPercentValue(IWDAttributeInfo attributeInfo)
percentValue to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
percentValue property is boundpublic java.lang.String bindingOfPercentValue()
percentValue.public int getPercentValue()
percentValue property.
The initial value is 0.
The percentual value of the progress.setPercentValue(int)public void setPercentValue(int value)
percentValue to the new value.value - the new value of the percentValue propertygetPercentValue()public void bindShowValue(java.lang.String path)
showValue to the context attribute
specified by path.path - the path of the context attribute to which the showValue
property is boundpublic void bindShowValue(IWDAttributeInfo attributeInfo)
showValue to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
showValue property is boundpublic java.lang.String bindingOfShowValue()
showValue.public boolean getShowValue()
showValue property.
The initial value is true.
Controls whether the display value is shown.setShowValue(boolean)public void setShowValue(boolean value)
showValue to the new value.value - the new value of the showValue propertygetShowValue()public void bindWidth(java.lang.String path)
width to the context attribute
specified by path.path - the path of the context attribute to which the width
property is boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
width property is boundpublic java.lang.String bindingOfWidth()
width.public java.lang.String getWidth()
width property.
The initial value is "".
A CSS size value specifying the width of the progress indicator.setWidth(String)public void setWidth(java.lang.String value)
width to the new value.value - the new value of the width propertygetWidth()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||