public final class RenditionAction extends PdfAction
A rendition action that controls the playing of multimedia content.
Constructor and Description |
---|
RenditionAction(String mediaFile,
ScreenAnnotation screen)
Creates the rendition action.
|
Modifier and Type | Method and Description |
---|---|
String |
getJavaScript()
Gets or sets JavaScript code associated with the action.
|
Rendition |
getRendition()
Gets or sets rendition associated with the action.
|
int |
getRenditionOperation()
The operation to perform when the action is triggered.
|
void |
setJavaScript(String value)
Gets or sets JavaScript code associated with the action.
|
void |
setRenditionOperation(int value)
The operation to perform when the action is triggered.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public RenditionAction(String mediaFile, ScreenAnnotation screen)
Creates the rendition action.
mediaFile
- The path to multimedia file.screen
- The ScreenAnnotation object the RenditionAction will be bound with.public final Rendition getRendition()
Gets or sets rendition associated with the action.
public final int getRenditionOperation()
The operation to perform when the action is triggered.
public final void setRenditionOperation(int value)
The operation to perform when the action is triggered.
value
- RenditionOperation elementpublic final String getJavaScript()
Gets or sets JavaScript code associated with the action.
public final void setJavaScript(String value)
Gets or sets JavaScript code associated with the action.
value
- Staring value