Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.interactive.action.type » [javadoc | source]
org.apache.pdfbox.pdmodel.interactive.action.type
public class: PDActionJavaScript [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.interactive.action.type.PDAction
      org.apache.pdfbox.pdmodel.interactive.action.type.PDActionJavaScript

All Implemented Interfaces:
    PDDestinationOrAction

This represents a JavaScript action.
Field Summary
public static final  String SUB_TYPE    This type of action this object represents. 
Fields inherited from org.apache.pdfbox.pdmodel.interactive.action.type.PDAction:
TYPE,  action
Constructor:
 public PDActionJavaScript() 
 public PDActionJavaScript(String js) 
    Constructor.
    Parameters:
    js - Some javascript code.
 public PDActionJavaScript(COSDictionary a) 
    Constructor #2.
    Parameters:
    a - The action dictionary.
Method from org.apache.pdfbox.pdmodel.interactive.action.type.PDActionJavaScript Summary:
getAction,   setAction,   setAction
Methods from org.apache.pdfbox.pdmodel.interactive.action.type.PDAction:
getCOSDictionary,   getCOSObject,   getNext,   getSubType,   getType,   setNext,   setSubType,   setType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.interactive.action.type.PDActionJavaScript Detail:
 public PDTextStream getAction() 
 public  void setAction(PDTextStream sAction) 
 public  void setAction(String sAction)