Package com.sun.pdfview.action
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 Summary
Fields Modifier and Type Field Description private PDFDestination
dest
the destination to go to
-
Constructor Summary
Constructors Constructor Description GoToAction(PDFDestination dest)
Create a new GoToAction from a destinationGoToAction(PDFObject obj, PDFObject root)
Creates a new instance of GoToAction from an object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDFDestination
getDestination()
Get the destination this action refers to
-
-
-
Field Detail
-
dest
private PDFDestination dest
the destination to go to
-
-
Constructor Detail
-
GoToAction
public GoToAction(PDFObject obj, PDFObject root) throws java.io.IOException
Creates a new instance of GoToAction from an object- Parameters:
obj
- the PDFObject with the action information- Throws:
java.io.IOException
-
GoToAction
public GoToAction(PDFDestination dest)
Create a new GoToAction from a destination
-
-
Method Detail
-
getDestination
public PDFDestination getDestination()
Get the destination this action refers to
-
-