org.foray.pdf.object
Class PDFAction
java.lang.Object
org.foray.pdf.object.PDFObject
org.foray.pdf.object.PDFAction
- Direct Known Subclasses:
- PDFGoTo, PDFGoToRemote, PDFUri
public abstract class PDFAction
- extends PDFObject
class representing 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 |
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
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.