|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary> it.stefanochizzolini.clown.documents.interaction.annotations.Annotation it.stefanochizzolini.clown.documents.interaction.annotations.SoundAnnotation
public class SoundAnnotation
Sound annotation [PDF:1.6:8.4.5].
When the annotation is activated, the sound is played.
Nested Class Summary | |
---|---|
static class |
SoundAnnotation.IconTypeEnum
Icon to be used in displaying the annotation [PDF:1.6:8.4.5]. |
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation |
---|
Annotation.FlagsEnum |
Constructor Summary | |
---|---|
SoundAnnotation(Page page,
Rectangle2D box,
Sound sound)
|
|
SoundAnnotation(PdfDirectObject baseObject,
PdfIndirectObject container)
|
Method Summary | |
---|---|
SoundAnnotation |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
SoundAnnotation.IconTypeEnum |
getIconType()
Gets the icon to be used in displaying the annotation. |
Sound |
getSound()
Gets the sound to be played. |
void |
setIconType(SoundAnnotation.IconTypeEnum value)
|
void |
setSound(Sound value)
|
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation |
---|
getAction, getActions, getAppearance, getBorder, getBox, getFlags, getModificationDate, getName, getPage, getText, isPrintable, isVisible, setAction, setActions, setAppearance, setBorder, setBox, setFlags, setModificationDate, setName, setPage, setPrintable, setText, setVisible, wrap, wrap |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoundAnnotation(Page page, Rectangle2D box, Sound sound)
public SoundAnnotation(PdfDirectObject baseObject, PdfIndirectObject container)
Method Detail |
---|
public SoundAnnotation clone(Document context)
PdfObjectWrapper
clone
in class Annotation
context
- Which document the clone has to be registered in.public SoundAnnotation.IconTypeEnum getIconType()
public Sound getSound()
public void setIconType(SoundAnnotation.IconTypeEnum value)
getIconType()
public void setSound(Sound value)
getSound()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |