com.qoppa.pdfViewer.actions
Class JSAction

java.lang.Object
  extended bycom.qoppa.pdfViewer.actions.Action
      extended bycom.qoppa.pdfViewer.actions.JSAction

public class JSAction
extends Action


Field Summary
static String ACTION_TYPE_DESCRIPTION
           
 
Constructor Summary
JSAction(PDFReference jsStream)
           
JSAction(String js)
           
 
Method Summary
 String getActionType()
          Returns the type of action.
 String getActionTypeDesc()
          Returns the action type description
 String getJavascript()
           
 String toString()
          Returns the description of the action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION_TYPE_DESCRIPTION

public static String ACTION_TYPE_DESCRIPTION
Constructor Detail

JSAction

public JSAction(String js)

JSAction

public JSAction(PDFReference jsStream)
Method Detail

getActionType

public String getActionType()
Description copied from class: Action
Returns the type of action.

Specified by:
getActionType in class Action
Returns:
The action type.

getActionTypeDesc

public String getActionTypeDesc()
Description copied from class: Action
Returns the action type description

Specified by:
getActionTypeDesc in class Action

toString

public String toString()
Returns the description of the action.


getJavascript

public String getJavascript()
                     throws PDFException
Throws:
PDFException