PDF Clown
0.1.2

org.pdfclown.documents.interaction.actions
Class PlaySound

java.lang.Object
  extended by org.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
      extended by org.pdfclown.documents.interaction.actions.Action
          extended by org.pdfclown.documents.interaction.actions.PlaySound
All Implemented Interfaces:
Cloneable, IPdfObjectWrapper

@PDF(value=PDF12)
public final class PlaySound
extends Action

'Play a sound' action [PDF:1.6:8.5.3].

Since:
0.0.7
Version:
0.1.2, 12/21/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
PlaySound(Document context, Sound sound)
          Creates a new action within the given document context.
 
Method Summary
 PlaySound clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 Sound getSound()
          Gets the sound to be played.
 void setSound(Sound value)
           
 
Methods inherited from class org.pdfclown.documents.interaction.actions.Action
getActions, setActions, wrap
 
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
 

Constructor Detail

PlaySound

public PlaySound(Document context,
                 Sound sound)
Creates a new action within the given document context.

Method Detail

clone

public PlaySound clone(Document context)
Description copied from class: PdfObjectWrapper
Gets a clone of the object, registered inside the given document context.

Overrides:
clone in class Action
Parameters:
context - Which document the clone has to be registered in.

getSound

public Sound getSound()
Gets the sound to be played.


setSound

public void setSound(Sound value)
See Also:
getSound()

PDF Clown
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.