org.foray.pdf.object
Class PDFAction

java.lang.Object
  extended by org.foray.pdf.object.PDFObject
      extended by org.foray.pdf.object.PDFAction
Direct Known Subclasses:
PDFGoTo, PDFGoToRemote, PDFUri

public abstract class PDFAction
extends PDFObject

class representing an action object.


Field Summary
 
Fields inherited from class org.foray.pdf.object.PDFObject
EOL, MSG_EOL, XREF_EOL
 
Constructor Summary
PDFAction()
          empty constructor for PDFAction.
PDFAction(PDFDocument doc)
          Create an Action object.
 
Method Summary
abstract  String getAction()
          represent the action to call this method should be implemented to return the action which gets called by the Link Object.
 
Methods inherited from class org.foray.pdf.object.PDFObject
bufferToByteArray, byteArrayToStream, getCharsPerLine, getGeneration, getLogger, getNumber, getPDFDocument, output, pdfID, pdfReference, setNumber, stringToByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFAction

public PDFAction(PDFDocument doc)
Create an Action object.

Parameters:
doc - The parent PDFDocument.

PDFAction

public PDFAction()
empty constructor for PDFAction. this constructor is used when there is no additional object being created

Method Detail

getAction

public abstract String getAction()
represent the action to call this method should be implemented to return the action which gets called by the Link Object. This could be a reference to another object or the specific destination of the link

Returns:
the action to place next to /A within a Link


Copyright © 2017. All rights reserved.