Class CPDFGoToAction

java.lang.Object
com.compdfkit.core.document.action.CPDFAction
com.compdfkit.core.document.action.CPDFGoToAction

public class CPDFGoToAction extends CPDFAction
PDF action representing a change to another page.
  • Constructor Details

    • CPDFGoToAction

      public CPDFGoToAction()
  • Method Details

    • getDestination

      public CPDFDestination getDestination(CPDFDocument document)
      Gets the destination associated with the action, more: CPDFDestination
      Parameters:
      document - This class is about CPDFDocument, one CPDFDocument class for one document.
      Returns:
      Returns the destination associated with the action.
      See Also:
    • setDestination

      public boolean setDestination(CPDFDocument document, CPDFDestination destination)
      Sets the destination associated with the action.
      Parameters:
      document - This class is about CPDFDocument, one CPDFDocument class for one document.
      destination - The destination associated with the action.
      Returns:
      Returns whether to successfully set the destination associated with the action.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object