public class Javascript extends Object
| Constructor and Description |
|---|
Javascript(ExpressionEngine userExpressionEngine,
AcroRenderer acro) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeFile() |
static void |
disableJavascript()
Stop JavaScript from being run.
|
void |
dispose() |
int |
execute(FormObject ref,
int type,
int eventType,
char keyPressed)
we execute the command given and then execute command C on any linked fields
or on itself if there are no linked fields
|
void |
executeAction(String jsCode)
called to execute various action commands such as page opened
triggered by events not easily tracked with listeners
|
String |
getJavaScript(String key)
Returns the JavaScript from a JavaScript Name object
If key is set to null it will return the whole contents of the map |
String |
getJavascriptCommand(String ref,
int type) |
void |
setCode(String name,
String value)
store and execute code from Names object
|
void |
storeJavascript(String name,
String script,
int type) |
public Javascript(ExpressionEngine userExpressionEngine, AcroRenderer acro)
public void executeAction(String jsCode)
public int execute(FormObject ref, int type, int eventType, char keyPressed)
public String getJavaScript(String key)
key - public void closeFile()
public void dispose()
public static void disableJavascript()
Copyright © 2017. All rights reserved.