X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.util.TaskRunner.html diff --git a/docs/output/Ext.util.TaskRunner.html b/docs/output/Ext.util.TaskRunner.html deleted file mode 100644 index 0d873761..00000000 --- a/docs/output/Ext.util.TaskRunner.html +++ /dev/null @@ -1,49 +0,0 @@ -
Package: | Ext.util |
Defined In: | TaskMgr.js |
Class: | TaskRunner |
Subclasses: | TaskMgr |
Extends: | Object |
// Start a simple clock task that updates a div once per second
-var updateClock = function(){
- Ext.fly('clock').update(new Date().format('g:i:s A'));
-}
-var task = {
- run: updateClock,
- interval: 1000 //1 second
-}
-var runner = new Ext.util.TaskRunner();
-runner.start(task);
-
-// equivalent using TaskMgr
-Ext.TaskMgr.start({
- run: updateClock,
- interval: 1000
-});
-See the start method for details about how to configure a task object.
-Also see Ext.util.DelayedTask.Method | Defined By | |
---|---|---|
TaskRunner( [Number interval ] )
- Parameters:
| TaskRunner | |
start( Object task )
- :
- ObjectStarts a new task. Starts a new task. Parameters:
| TaskRunner | |
stop( Object task )
- :
- ObjectStops an existing running task. Stops an existing running task. Parameters:
| TaskRunner | |
stopAll()
- :
- void Stops all tasks that are currently running. Stops all tasks that are currently running. Parameters:
| TaskRunner |