Class ScriptExecutor
An executor for executing Javascript scripts in "browser"
user interfaces
created by PanelControl.
Constructor Attributes | Constructor Name and Description |
---|---|
This class is typically only instantiated by Content Studio.
|
Method Attributes | Method Name and Description |
---|---|
executeScript(script)
Executes a script in the swing event dispatch thread.
|
|
executeScriptWithResult(script)
Executes a script in the swing event dispatch thread and returns the
result of the script.
|
Method Detail
executeScript(script)
Executes a script in the swing event dispatch thread. This function does
not wait for the script to finish executing and returns immediately.
- Parameters:
- {String} script
- The script to execute.
{Object}
executeScriptWithResult(script)
Executes a script in the swing event dispatch thread and returns the
result of the script. This function waits for the script to finish
executing.
- Parameters:
- {String} script
- The script to execute.
- Returns:
- {Object} The result of the script.