|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdfViewer.actions.Action
com.qoppa.pdfViewer.actions.JSAction
public class JSAction
Action that executes a JavaScript.
| Field Summary | |
|---|---|
static String |
ACTION_TYPE_DESCRIPTION
|
| Constructor Summary | |
|---|---|
JSAction(com.qoppa.pdf.loObjects.PDFReference jsStream)
Constructs the action with a reference to a JavaScript stream. |
|
JSAction(String js)
Constructs the action with a JavaScript string. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares this object to another for equality. |
String |
getActionType()
Returns the type of action. |
String |
getActionTypeDesc()
Returns the action type description |
String |
getJavascript()
Returns the JavaScript of this action as a string. |
String |
toString()
Returns the description of the action. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String ACTION_TYPE_DESCRIPTION
| Constructor Detail |
|---|
public JSAction(String js)
js - The JavaScriptpublic JSAction(com.qoppa.pdf.loObjects.PDFReference jsStream)
jsStream - The JavaScript| Method Detail |
|---|
public String getActionType()
Action
getActionType in class Actionpublic String getActionTypeDesc()
Action
getActionTypeDesc in class Actionpublic String toString()
toString in class Object
public String getJavascript()
throws PDFException
PDFExceptionpublic boolean equals(Object obj)
equals in class Objectobj - The object to compare to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||