com.sun.pdfview.action

Class PDFAction

public class PDFAction extends Object

The common super-class of all PDF actions.
Constructor Summary
PDFAction(String type)
Creates a new instance of PDFAction
Method Summary
static PDFActiongetAction(PDFObject obj, PDFObject root)
Get an action of the appropriate type from a PDFObject
PDFObjectgetNext()
Get the next action or array of actions
StringgetType()
Get the type of this action
voidsetNext(PDFObject next)
Set the next action or array of actions

Constructor Detail

PDFAction

public PDFAction(String type)
Creates a new instance of PDFAction

Method Detail

getAction

public static PDFAction getAction(PDFObject obj, PDFObject root)
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

getNext

public PDFObject getNext()
Get the next action or array of actions

getType

public String getType()
Get the type of this action

setNext

public void setNext(PDFObject next)
Set the next action or array of actions