public class CuePoint extends PdfDictionary
Constructor and Description |
---|
CuePoint(PdfName subtype)
Constructs a CuePoint object.
|
Modifier and Type | Method and Description |
---|---|
void |
setAction(PdfObject action)
Sets an action dictionary defining the action that is executed
if this cue point is triggered, meaning that the Flash content
reached the matching cue point during its playback.
|
void |
setName(PdfString name)
Set the name of the cue point to match against the cue point within
Flash content and for display purposes.
|
void |
setTime(int time)
Sets the time value of the cue point in milliseconds to match against
the cue point within Flash content and for display purposes.
|
checkType, clear, 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
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public CuePoint(PdfName subtype)
Navigation
cue point is an event encoded in a Flash movie (FLV).
A chapter stop may be encoded so that when the user requests to go to or skip
a chapter, a navigation cue point is used to indicate the location of the chapter.
An Event
is a generic cue point of no specific significance other
than a corresponding action is triggered.subtype
- possible values: PdfName.NAVIGATION or PdfName.EVENTpublic void setName(PdfString name)
name
- the name of the cue pointpublic void setTime(int time)
time
- the time value of the cue pointpublic void setAction(PdfObject action)
action
- an actionCopyright © 2017. All rights reserved.