public class PDActionJavaScript extends PDAction
When executed the action executes a user defined JavaScript.
| Modifier and Type | Class and Description |
|---|---|
static class |
PDActionJavaScript.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static COSName |
CN_ActionType_JavaScript |
static COSName |
DK_JS |
static PDActionJavaScript.MetaClass |
META
The meta class instance
|
CN_Type_Action, DK_Next, DK_SDK_Subtype, DK_Type| Modifier and Type | Method and Description |
|---|---|
COSName |
cosGetExpectedActionType()
The action type expected for a
PDAction of the instantiated
class. |
static PDActionJavaScript |
createNew(String script) |
static String |
decodeSource(COSObject cosSource) |
String |
getJavaScript() |
void |
setJavaScript(String newJavaScript) |
addNext, cosGetActionType, getNext, removeNextcosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toStringchanged, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldStringpublic static final COSName CN_ActionType_JavaScript
public static final COSName DK_JS
public static final PDActionJavaScript.MetaClass META
public static PDActionJavaScript createNew(String script)
public COSName cosGetExpectedActionType()
PDActionPDAction of the instantiated
class.cosGetExpectedActionType in class PDActionPDAction of the
instantiated class.public String getJavaScript()
public void setJavaScript(String newJavaScript)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.