Package com.sun.pdfview.action
Class PDFAction
- java.lang.Object
-
- com.sun.pdfview.action.PDFAction
-
- Direct Known Subclasses:
GoToAction
public class PDFAction extends java.lang.Object
The common super-class of all PDF actions.
-
-
Constructor Summary
Constructors Constructor Description PDFAction(java.lang.String type)
Creates a new instance of PDFAction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PDFAction
getAction(PDFObject obj, PDFObject root)
Get an action of the appropriate type from a PDFObjectPDFObject
getNext()
Get the next action or array of actionsjava.lang.String
getType()
Get the type of this actionvoid
setNext(PDFObject next)
Set the next action or array of actions
-
-
-
Field Detail
-
type
private java.lang.String type
the type of this action
-
next
private PDFObject next
the next action or array of actions
-
-
Method Detail
-
getAction
public static PDFAction getAction(PDFObject obj, PDFObject root) throws java.io.IOException
Get an action of the appropriate type from a PDFObject- Parameters:
obj
- the PDF object containing the action to parseroot
- the root of the PDF object tree- Throws:
java.io.IOException
-
getType
public java.lang.String getType()
Get the type of this action
-
getNext
public PDFObject getNext()
Get the next action or array of actions
-
setNext
public void setNext(PDFObject next)
Set the next action or array of actions
-
-