| Modifier and Type | Method and Description |
|---|---|
| public JSObject | |
| public String | Returns: A string which can be passed to the JavaScript environment to create a new array.type The type of JavaScript object array to create javascriptObjectType, Object[] The array elements ary)Gets an array parameter constructor as a String, which then can be passed to the execute() method. |
| public String | Returns: A string which can be passed to the JavaScript environment to invoke the functionThe function to invoke function, Object[] The array of arguments to pass to the function. ary)Gets an array function as a String, which then can be passed to the execute() method. |
| public String | Returns: A string which can be passed to the JavaScript environment to create a new object.The type of JavaScript object to create javascriptObjectType, Object... The args of the constructor args)Gets a constructor as a string which then can be passed to the execute(). |
| public String | Returns: A string which can be passed to the JavaScript environment to invoke the functionThe variable to invoke the function on. variable, String The function to invoke function, Object... Arguments the function requires args)Gets a function as a String, which then can be passed to the execute() method. |
| public String | Returns: A string which can be passed to the JavaScript environment to invoke the functionThe function to invoke function, Object... Arguments the function requires args)Gets a function as a String, which then can be passed to the execute() method. |
| execute | back to summary |
|---|---|
| public JSObject execute(String command)
References Deprecated
See corresponding docs for further information. Execute the specified command returning a value (if any) | |
| getArrayConstructor | back to summary |
|---|---|
| public String getArrayConstructor(String javascriptObjectType, Object[] ary) Gets an array parameter constructor as a String, which then can be passed to the execute() method. Note, this is where the parameter to the constructor is an array, rather than the varargs which are broken down into separate parameters. | |
| getArrayFunction | back to summary |
|---|---|
| public String getArrayFunction(String function, Object[] ary) Gets an array function as a String, which then can be passed to the execute() method. | |
| getConstructor | back to summary |
|---|---|
| public String getConstructor(String javascriptObjectType, Object... args) Gets a constructor as a string which then can be passed to the execute(). | |
| getFunction | back to summary |
|---|---|
| public String getFunction(String variable, String function, Object... args) Gets a function as a String, which then can be passed to the execute() method. | |
| getFunction | back to summary |
|---|---|
| public String getFunction(String function, Object... args) Gets a function as a String, which then can be passed to the execute() method. | |