X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/output/Ext.TaskManager.js?ds=sidebyside diff --git a/docs/output/Ext.TaskManager.js b/docs/output/Ext.TaskManager.js index ef4521ef..4062c52a 100644 --- a/docs/output/Ext.TaskManager.js +++ b/docs/output/Ext.TaskManager.js @@ -1,146 +1 @@ -Ext.data.JsonP.Ext_TaskManager({ - "tagname": "class", - "name": "Ext.TaskManager", - "doc": "
A static Ext.util.TaskRunner instance that can be used to start and stop arbitrary tasks. See\nExt.util.TaskRunner for supported methods and task config properties.
\n\n// Start a simple clock task that updates a div once per second\nvar task = {\n run: function(){\n Ext.fly('clock').update(new Date().format('g:i:s A'));\n },\n interval: 1000 //1 second\n}\nExt.TaskManager.start(task);\n
\n\n\nSee the start method for details about how to configure a task object.
\n\n", - "extends": "Ext.util.TaskRunner", - "mixins": [ - - ], - "alternateClassNames": [ - - ], - "xtype": null, - "author": null, - "docauthor": null, - "singleton": true, - "private": false, - "cfg": [ - - ], - "method": [ - { - "tagname": "method", - "name": "TaskManager", - "member": "Ext.util.TaskRunner", - "doc": "\n", - "params": [ - { - "type": "Number", - "name": "interval", - "doc": "(optional) The minimum precision in milliseconds supported by this TaskRunner instance\n(defaults to 10)
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/util/TaskManager.js", - "linenr": 1, - "html_filename": "TaskManager.html", - "href": "TaskManager.html#Ext-util-TaskRunner-method-constructor", - "shortDoc": "\n" - }, - { - "tagname": "method", - "name": "start", - "member": "Ext.util.TaskRunner", - "doc": "Starts a new task.
\n", - "params": [ - { - "type": "Object", - "name": "task", - "doc": "A config object that supports the following properties:
run
: FunctionThe function to execute each time the task is invoked. The\nfunction will be called at each interval and passed the args
argument if specified, and the\ncurrent invocation count if not.
If a particular scope (this
reference) is required, be sure to specify it using the scope
argument.
Return false
from this function to terminate the task.
interval
: Numberargs
: Arrayrun
. If not specified, the current invocation count is passed.scope
: Objectrun
function. Defaults to the task config object.duration
: Numberrepeat
: NumberBefore each invocation, Ext injects the property taskRunCount
into the task object so\nthat calculations based on the repeat count can be performed.
The task
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/util/TaskManager.js", - "linenr": 104, - "html_filename": "TaskManager.html", - "href": "TaskManager.html#Ext-util-TaskRunner-method-start", - "shortDoc": "Starts a new task.
\n" - }, - { - "tagname": "method", - "name": "stop", - "member": "Ext.util.TaskRunner", - "doc": "Stops an existing running task.
\n", - "params": [ - { - "type": "Object", - "name": "task", - "doc": "The task to stop
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "The task
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/util/TaskManager.js", - "linenr": 137, - "html_filename": "TaskManager.html", - "href": "TaskManager.html#Ext-util-TaskRunner-method-stop", - "shortDoc": "Stops an existing running task.
\n" - }, - { - "tagname": "method", - "name": "stopAll", - "member": "Ext.util.TaskRunner", - "doc": "Stops all tasks that are currently running.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/util/TaskManager.js", - "linenr": 148, - "html_filename": "TaskManager.html", - "href": "TaskManager.html#Ext-util-TaskRunner-method-stopAll", - "shortDoc": "Stops all tasks that are currently running.
\n" - } - ], - "property": [ - - ], - "event": [ - - ], - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/util/TaskManager.js", - "linenr": 164, - "html_filename": "TaskManager.html", - "href": "TaskManager.html#Ext-TaskManager", - "cssVar": [ - - ], - "cssMixin": [ - - ], - "component": false, - "superclasses": [ - "Ext.util.TaskRunner" - ], - "subclasses": [ - - ], - "mixedInto": [ - - ], - "allMixins": [ - - ] -}); \ No newline at end of file +Ext.data.JsonP.Ext_TaskManager({"tagname":"class","html":"Hierarchy
Ext.util.TaskRunnerExt.TaskManagerFiles
A static Ext.util.TaskRunner instance that can be used to start and stop arbitrary tasks. See\nExt.util.TaskRunner for supported methods and task config properties.
\n\n// Start a simple clock task that updates a div once per second\nvar task = {\n run: function(){\n Ext.fly('clock').update(new Date().format('g:i:s A'));\n },\n interval: 1000 //1 second\n}\nExt.TaskManager.start(task);\n
\n\n\nSee the start method for details about how to configure a task object.
\n\nStarts a new task.
\nA config object that supports the following properties:
run
: FunctionThe function to execute each time the task is invoked. The\nfunction will be called at each interval and passed the args
argument if specified, and the\ncurrent invocation count if not.
If a particular scope (this
reference) is required, be sure to specify it using the scope
argument.
Return false
from this function to terminate the task.
interval
: Numberargs
: Arrayrun
. If not specified, the current invocation count is passed.scope
: Objectrun
function. Defaults to the task config object.duration
: Numberrepeat
: NumberBefore each invocation, Ext injects the property taskRunCount
into the task object so\nthat calculations based on the repeat count can be performed.
The task
\nStops all tasks that are currently running.
\n