com.itextpdf.text.pdf.richmedia
Class RichMediaExecuteAction

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfObject
      extended by com.itextpdf.text.pdf.PdfDictionary
          extended by com.itextpdf.text.pdf.PdfAction
              extended by com.itextpdf.text.pdf.richmedia.RichMediaExecuteAction

public class RichMediaExecuteAction
extends PdfAction

A rich-media-execute action identifies a rich media annotation and specifies a command to be sent to that annotation's handler. See table 8.45a in the Adobe 1.7 ExtensionLevel 3 document

Since:
5.0.0
See Also:
RichMediaAnnotation, RichMediaCommand

Field Summary
 
Fields inherited from class com.itextpdf.text.pdf.PdfAction
FIRSTPAGE, LASTPAGE, NEXTPAGE, PREVPAGE, PRINTDIALOG, RESET_EXCLUDE, SUBMIT_CANONICAL_FORMAT, SUBMIT_COORDINATES, SUBMIT_EMBED_FORM, SUBMIT_EXCL_F_KEY, SUBMIT_EXCL_NON_USER_ANNOTS, SUBMIT_EXCLUDE, SUBMIT_HTML_FORMAT, SUBMIT_HTML_GET, SUBMIT_INCLUDE_ANNOTATIONS, SUBMIT_INCLUDE_APPEND_SAVES, SUBMIT_INCLUDE_NO_VALUE_FIELDS, SUBMIT_PDF, SUBMIT_XFDF
 
Fields inherited from class com.itextpdf.text.pdf.PdfDictionary
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES
 
Fields inherited from class com.itextpdf.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
 
Constructor Summary
RichMediaExecuteAction(PdfIndirectReference ref, RichMediaCommand command)
          Creates a RichMediaExecute action dictionary.
 
Method Summary
 void setRichMediaInstance(PdfIndirectReference ref)
          Sets the target instance for this action.
 
Methods inherited from class com.itextpdf.text.pdf.PdfAction
createHide, createHide, createHide, createImportData, createLaunch, createResetForm, createSubmitForm, gotoEmbedded, gotoEmbedded, gotoLocalPage, gotoLocalPage, gotoRemotePage, javaScript, javaScript, next, rendition, setOCGstate
 
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
 
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RichMediaExecuteAction

public RichMediaExecuteAction(PdfIndirectReference ref,
                              RichMediaCommand command)
Creates a RichMediaExecute action dictionary.

Parameters:
ref - a reference to rich media annotation dictionary for an annotation for which to execute the script command.
command - the command name and arguments to be executed when the rich-media-execute action is invoked.
Method Detail

setRichMediaInstance

public void setRichMediaInstance(PdfIndirectReference ref)
Sets the target instance for this action.

Parameters:
ref - a reference to a RichMediaInstance

Hosted by Hostbasket