public class JavaScriptStringJob extends JavaScriptExecutionJob
JavaScriptExecutionJob
created from a string of code.Constructor and Description |
---|
JavaScriptStringJob(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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
runJavaScript(HtmlPage page)
Run the JavaScript from the concrete class.
|
run, toString
compareTo, getId, getInitialDelay, getPeriod, getTargetExecutionTime, isPeriodic, setId, setTargetExecutionTime
public JavaScriptStringJob(int initialDelay, Integer period, String label, WebWindow window, String script)
initialDelay
- the initial amount of time to wait before executing this jobperiod
- the amount of time to wait between executions of this job (may be null)label
- the label for the jobwindow
- the window to which the job belongsscript
- the JavaScript code to executeprotected void runJavaScript(HtmlPage page)
runJavaScript
in class JavaScriptExecutionJob
page
- the HtmlPage
that owns the scriptCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.