|
||||||||||
| 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.sencha.gxt.widget.core.client.Component
com.sencha.gxt.widget.core.client.cell.CellComponent<Double>
com.sencha.gxt.widget.core.client.ProgressBar
public class ProgressBar
An manual mode updateable progress bar widget.
You are responsible for showing, updating (viaupdateProgress(double, java.lang.String)) and
clearing the progress bar as needed from your own code. This method is most
appropriate when you want to show progress throughout an operation that has
predictable points of interest at which you can update the control.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor |
|---|
Editor.Ignore, Editor.Path |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
ProgressBar()
Creates a new progress bar with the default progress bar cell. |
|
ProgressBar(ProgressBarCell cell)
Creates a new progress bar with the specified progress bar cell. |
|
| Method Summary | |
|---|---|
ProgressBarCell |
getCell()
Get the Cell wrapped by this widget. |
int |
getIncrement()
Returns the bar's increment value. |
void |
reset()
Resets the progress bar value to 0 and text to empty string. |
void |
setIncrement(int increment)
The number of progress update segments to display within the progress bar (defaults to 10). |
void |
updateProgress(double value,
String text)
Updates the progress bar value, and optionally its text. |
void |
updateText(String text)
Updates the progress bar text. |
| Methods inherited from class com.sencha.gxt.widget.core.client.cell.CellComponent |
|---|
addValueChangeHandler, getElement, getKeyProvider, getValue, onBrowserEvent, redraw, setValue, setValue, setValue |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public ProgressBar()
public ProgressBar(ProgressBarCell cell)
cell - the progress bar cell| Method Detail |
|---|
public int getIncrement()
public void reset()
public void setIncrement(int increment)
increment - the new increment
public void updateProgress(double value,
String text)
reset() to clear and/or hide the control.
value - A value between 0 and 1 (e.g., .5, defaults to 0)text - the string to display in the progress text element or nullpublic ProgressBarCell getCell()
CellComponentCell wrapped by this widget.
getCell in class CellComponent<Double>Cell being wrappedpublic void updateText(String text)
text - the text to display
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||