|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.core.BaseConfig
com.gwtext.client.widgets.WaitConfig
public class WaitConfig
Wait configuration class.
MessageBoxConfig.setWaitConfig(WaitConfig)
,
ProgressBar.wait(WaitConfig)
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
WaitConfig()
Create a new WaitConfig. |
|
WaitConfig(int duration)
Create a new WaitConfig. |
|
WaitConfig(int duration,
int interval,
int increment)
Create a new WaitConfig. |
Method Summary | |
---|---|
void |
setCallback(Function callback)
A callback function to execute after the progress bar finishes auto-updating. |
void |
setDuration(int duration)
The length of time in milliseconds that the progress bar should run before resetting itself (defaults to undefined, in which case it will run indefinitely until reset is called). |
void |
setIncrement(int increment)
The number of progress update segments to display within the progress bar (defaults to 10). |
void |
setInterval(int interval)
The length of time in milliseconds between each progress update (defaults to 1000 ms). |
Methods inherited from class com.gwtext.client.core.JsObject |
---|
getJsObj, getProperties, isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WaitConfig()
public WaitConfig(int duration)
duration
- the length of time in milliseconds that the progress bar should run before resetting itselfpublic WaitConfig(int duration, int interval, int increment)
duration
- the length of time in milliseconds that the progress bar should run before resetting itselfinterval
- The length of time in milliseconds between each progress updateincrement
- the number of progress update segments to display within the progress bar (defaults to 10).Method Detail |
---|
public void setDuration(int duration)
duration
- the durationpublic void setInterval(int interval)
interval
- the intervalpublic void setIncrement(int increment)
increment
- the incrementpublic void setCallback(Function callback)
callback
- the callback function
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |