|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
org.pdfclown.documents.multimedia.MediaPlayParameters.Viability
public static class MediaPlayParameters.Viability
Media player parameters viability.
Nested Class Summary | |
---|---|
static class |
MediaPlayParameters.Viability.FitModeEnum
|
Method Summary | |
---|---|
MediaPlayParameters.Viability |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
double |
getDuration()
Gets the temporal duration, corresponding to the notion of simple duration in SMIL. |
MediaPlayParameters.Viability.FitModeEnum |
getFitMode()
Gets the manner in which the player should treat a visual media type that does not exactly fit the rectangle in which it plays. |
double |
getRepeatCount()
Gets the number of iterations of the duration to repeat; similar to SMIL's repeatCount attribute. |
int |
getVolume()
Gets the volume level as a percentage of recorded volume level. |
boolean |
isAutoplay()
Gets whether the media should automatically play when activated. |
boolean |
isPlayerSpecificControl()
Gets whether to display a player-specific controller user interface (for example, play/pause/stop controls) when playing. |
void |
setAutoplay(boolean value)
|
void |
setDuration(double value)
|
void |
setFitMode(MediaPlayParameters.Viability.FitModeEnum value)
|
void |
setPlayerSpecificControl(boolean value)
|
void |
setRepeatCount(double value)
|
void |
setVolume(int value)
|
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public MediaPlayParameters.Viability clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfDictionary>
context
- Which document the clone has to be registered in.public double getDuration()
Double.NEGATIVE_INFINITY
: intrinsic duration of the associated media;Double.POSITIVE_INFINITY
: infinite duration;public MediaPlayParameters.Viability.FitModeEnum getFitMode()
public double getRepeatCount()
repeatCount
attribute.
0
: repeat foreverpublic int getVolume()
public boolean isAutoplay()
public boolean isPlayerSpecificControl()
public void setAutoplay(boolean value)
isAutoplay()
public void setDuration(double value)
getDuration()
public void setFitMode(MediaPlayParameters.Viability.FitModeEnum value)
getFitMode()
public void setPlayerSpecificControl(boolean value)
isPlayerSpecificControl()
public void setRepeatCount(double value)
getRepeatCount()
public void setVolume(int value)
getVolume()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |