Class GoToAction

java.lang.Object
com.sun.pdfview.action.PDFAction
com.sun.pdfview.action.GoToAction

public class GoToAction extends PDFAction
An action which specifies going to a particular destination
  • Field Details

  • Constructor Details

    • GoToAction

      public GoToAction(PDFObject obj, PDFObject root) throws IOException
      Creates a new instance of GoToAction from an object
      Parameters:
      obj - the PDFObject with the action information
      Throws:
      IOException
    • GoToAction

      public GoToAction(PDFDestination dest)
      Create a new GoToAction from a destination
  • Method Details

    • getDestination

      public PDFDestination getDestination()
      Get the destination this action refers to