|
||||||||||
| 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<java.lang.Double>
com.sencha.gxt.widget.core.client.ProgressBar
com.sencha.gxt.widget.core.client.AutoProgressBar
public class AutoProgressBar
An auto mode progress bar widget.
You simply callauto() and let the progress bar run indefinitely, only
clearing it once the operation is complete. You can optionally have the
progress bar wait for a specific amount of time and then clear itself.
Automatic mode is most appropriate for timed operations or asynchronous
operations in which you have no need for indicating intermediate progress.
| 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 | |
|---|---|
AutoProgressBar()
Creates a new progress bar with the default automatic progress bar cell. |
|
AutoProgressBar(AutoProgressBarCell cell)
Creates a new progress bar with the specified automatic progress bar cell. |
|
| Method Summary | |
|---|---|
void |
auto()
Initiates an auto-updating progress bar using the current duration, increment, and interval. |
int |
getDuration()
Returns the duration. |
int |
getInterval()
Returns the bar's interval value. |
boolean |
isRunning()
Returns true if the progress bar is currently in a auto() operation. |
void |
setDuration(int duration)
The length of time in milliseconds that the progress bar should run before resetting itself (defaults to DEFAULT, in which case it will run indefinitely until reset is called). |
void |
setInterval(int interval)
Sets the length of time in milliseconds between each progress update (defaults to 300 ms). |
| Methods inherited from class com.sencha.gxt.widget.core.client.ProgressBar |
|---|
getCell, getIncrement, reset, setIncrement, updateProgress, updateText |
| 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 AutoProgressBar()
public AutoProgressBar(AutoProgressBarCell cell)
cell - the automatic progress bar cell| Method Detail |
|---|
public void auto()
public int getDuration()
public int getInterval()
public boolean isRunning()
auto() operation.
public void setDuration(int duration)
duration - the duration in millisecondspublic void setInterval(int interval)
interval - the interval to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||