|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sap.ui.core.client.ControlWidget
com.sap.ui.commons.client.ProgressIndicatorWidget
public class ProgressIndicatorWidget
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
ProgressIndicatorWidget()
constructs the class ProgressIndicatorWidget |
protected |
ProgressIndicatorWidget(ProgressIndicator control)
constructs the class ProgressIndicatorWidget |
|
ProgressIndicatorWidget(String id)
constructs the class ProgressIndicatorWidget |
| Method Summary | |
|---|---|
com.sap.ui.core.client.BarColor |
getBarColor()
Getter for property barColor
The color of the ProgressIndicator bar. |
ProgressIndicator |
getControl()
returns the reference to the Phoenix Control |
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. |
void |
setBarColor(com.sap.ui.core.client.BarColor value)
Setter for property barColorDefault value is: NEUTRAL |
void |
setDisplayValue(String value)
Setter for property displayValueDefault value is: 0% |
void |
setEnabled(boolean value)
Setter for property enabledDefault value is: true |
void |
setPercentValue(int value)
Setter for property percentValueDefault value is: 0 |
void |
setShowValue(boolean value)
Setter for property showValueDefault value is: true |
void |
setVisible(boolean value)
Setter for property visibleDefault value is: true |
void |
setWidth(String value)
Setter for property widthDefault value is: 100% |
| Methods inherited from class com.sap.ui.core.client.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressIndicatorWidget()
ProgressIndicatorWidget
public ProgressIndicatorWidget(String id)
ProgressIndicatorWidget
id - id of the ProgressIndicatorWidgetprotected ProgressIndicatorWidget(ProgressIndicator control)
ProgressIndicatorWidget
control - reference to an existing ProgressIndicator| Method Detail |
|---|
public ProgressIndicator getControl()
Control
getControl in class com.sap.ui.core.client.ControlWidgetControlpublic boolean isVisible()
visible
The visibility of the ProgressIndicator. Invisible controls are not rendered.
isVisible in class com.google.gwt.user.client.ui.UIObjectpublic void setVisible(boolean value)
visibletrue
setVisible in class com.google.gwt.user.client.ui.UIObjectvalue - booleanpublic boolean isEnabled()
enabled
Switches enabled state of the control. Disabled fields have different colors, and can not be focused.
public void setEnabled(boolean value)
enabledtrue
value - booleanpublic com.sap.ui.core.client.BarColor getBarColor()
barColor
The color of the ProgressIndicator bar.
public void setBarColor(com.sap.ui.core.client.BarColor value)
barColorNEUTRAL
value - com.sap.ui.core.client.BarColorpublic String getDisplayValue()
displayValue
The text value to display in the ProgressIndicator. If not set, there will be nothing displayed.
public void setDisplayValue(String value)
displayValue0%
value - Stringpublic int getPercentValue()
percentValue
The numerical value between 0 and 100 which determines the position of the ProgressIndicator bar.
public void setPercentValue(int value)
percentValue0
value - intpublic boolean isShowValue()
showValue
Determines whether the current value should be rendered inside the bar.
public void setShowValue(boolean value)
showValuetrue
value - booleanpublic String getWidth()
width
The width of the ProgressIndicator.
public void setWidth(String value)
width100%
setWidth in class com.google.gwt.user.client.ui.UIObjectvalue - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||