|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JavaScriptJob | |
|---|---|
| com.gargoylesoftware.htmlunit.javascript.background | Classes relating to background JavaScript execution, which is usually triggered via setTimeout() or setInterval(). |
| Uses of JavaScriptJob in com.gargoylesoftware.htmlunit.javascript.background |
|---|
| Methods in com.gargoylesoftware.htmlunit.javascript.background that return JavaScriptJob | |
|---|---|
JavaScriptJob |
BackgroundJavaScriptFactory.createDownloadBehaviorJob(URL url,
net.sourceforge.htmlunit.corejs.javascript.Function callback,
WebClient client)
Creates a new instance. |
JavaScriptJob |
BackgroundJavaScriptFactory.createJavaScriptJob(int initialDelay,
Integer period,
Runnable runnable)
Creates a new job. |
JavaScriptJob |
BackgroundJavaScriptFactory.createJavaScriptJob(int initialDelay,
Integer period,
String label,
WebWindow window,
String script)
Creates a new JavaScript execution job, where the JavaScript code to execute is a string. |
JavaScriptJob |
BackgroundJavaScriptFactory.createJavascriptXMLHttpRequestJob(net.sourceforge.htmlunit.corejs.javascript.ContextFactory contextFactory,
net.sourceforge.htmlunit.corejs.javascript.ContextAction action)
Creates a new job for XMLHttpRequestProcessing. |
JavaScriptJob |
JavaScriptJobManager.getEarliestJob()
Gets the earliest job for this manager. |
| Methods in com.gargoylesoftware.htmlunit.javascript.background with parameters of type JavaScriptJob | |
|---|---|
int |
JavaScriptJobManager.addJob(JavaScriptJob job,
Page page)
Adds the specified job to this job manager, assigning it an ID. |
boolean |
JavaScriptJobManager.runSingleJob(JavaScriptJob job)
Runs the provided job if it is the right time for it. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||