Class PDFAction

java.lang.Object
org.loboevolution.pdfview.action.PDFAction
Direct Known Subclasses:
GoToAction, GoToEAction, GoToRAction, LaunchAction, UriAction

public class PDFAction extends Object
The common super-class of all PDF actions.
  • Constructor Details

    • PDFAction

      public PDFAction(String type)
      Creates a new instance of PDFAction
      Parameters:
      type - a String object.
  • Method Details

    • getAction

      public static PDFAction getAction(PDFObject obj, PDFObject root) throws IOException
      Get an action of the appropriate type from a PDFObject
      Parameters:
      obj - the PDF object containing the action to parse
      root - the root of the PDF object tree
      Returns:
      a PDFAction object.
      Throws:
      IOException - if any.