Class RichMediaExecuteAction

  • All Implemented Interfaces:
    java.io.Serializable

    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, Serialized Form
    • 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