| com.gwtext.client.core.BaseConfig com.gwtext.client.widgets.WaitConfig
Constructor Summary | |
public | WaitConfig() Create a new WaitConfig. | public | WaitConfig(int duration) Create a new WaitConfig. | public | WaitConfig(int duration, int interval, int increment) Create a new WaitConfig. |
Method Summary | |
native public void | setCallback(Function callback) A callback function to execute after the progress bar finishes auto-updating. | public 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). | public void | setIncrement(int increment) The number of progress update segments to display within the progress bar (defaults to 10). | public void | setInterval(int interval) The length of time in milliseconds between each progress update (defaults to 1000 ms). |
WaitConfig | public WaitConfig()(Code) | | Create a new WaitConfig.
|
WaitConfig | public WaitConfig(int duration)(Code) | | Create a new WaitConfig.
Parameters: duration - the length of time in milliseconds that the progress bar should run before resetting itself |
WaitConfig | public WaitConfig(int duration, int interval, int increment)(Code) | | Create a new WaitConfig.
Parameters: duration - the length of time in milliseconds that the progress bar should run before resetting itself Parameters: interval - The length of time in milliseconds between each progress update Parameters: increment - the number of progress update segments to display within the progress bar (defaults to 10). |
setCallback | native public void setCallback(Function callback)(Code) | | A callback function to execute after the progress bar finishes auto-updating.
This function will be ignored if duration is not specified since in that case the
progress bar can only be stopped programmatically, so any required function should be called by the same code after
it resets the progress bar.
Parameters: callback - the callback function |
setDuration | public void setDuration(int duration)(Code) | | 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).
Parameters: duration - the duration |
setIncrement | public void setIncrement(int increment)(Code) | | The number of progress update segments to display within the progress bar (defaults to 10). If the bar reaches
the end and is still updating, it will automatically wrap back to the beginning.
Parameters: increment - the increment |
setInterval | public void setInterval(int interval)(Code) | | The length of time in milliseconds between each progress update (defaults to 1000 ms).
Parameters: interval - the interval |
|
|