Package gov.nasa.worldwindx.examples
Class AnnotationControls.AudioContentAnnotation
- java.lang.Object
-
- gov.nasa.worldwindx.examples.AnnotationControls.ContentAnnotation
-
- gov.nasa.worldwindx.examples.AnnotationControls.AudioContentAnnotation
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.util.EventListener
- Enclosing class:
- AnnotationControls
public static class AnnotationControls.AudioContentAnnotation extends AnnotationControls.ContentAnnotation
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.sound.sampled.Clip
clip
protected java.lang.Thread
readThread
protected java.lang.Object
source
-
Fields inherited from class gov.nasa.worldwindx.examples.AnnotationControls.ContentAnnotation
annnotation, appFrame, controller
-
-
Constructor Summary
Constructors Constructor Description AudioContentAnnotation(AnnotationControls.AppFrame appFrame, AudioPlayerAnnotation annnotation, AudioPlayerAnnotationController controller, java.lang.Object source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
protected void
doRetrieveAndSetClip(java.lang.Object source)
java.lang.Object
getSource()
protected javax.sound.sampled.Clip
readClip(java.lang.Object source)
protected void
retrieveAndSetClip(java.lang.Object source)
protected void
startClipRetrieval(java.lang.Object source)
protected void
stopClipRetrieval()
protected void
stopController(AudioPlayerAnnotationController controller)
-
Methods inherited from class gov.nasa.worldwindx.examples.AnnotationControls.ContentAnnotation
actionPerformed, attach, getAnnotation, getAppFrame, getController
-
-
-
-
Constructor Detail
-
AudioContentAnnotation
public AudioContentAnnotation(AnnotationControls.AppFrame appFrame, AudioPlayerAnnotation annnotation, AudioPlayerAnnotationController controller, java.lang.Object source)
-
-
Method Detail
-
getSource
public java.lang.Object getSource()
-
detach
public void detach()
- Overrides:
detach
in classAnnotationControls.ContentAnnotation
-
stopController
protected void stopController(AudioPlayerAnnotationController controller)
-
retrieveAndSetClip
protected void retrieveAndSetClip(java.lang.Object source)
-
doRetrieveAndSetClip
protected void doRetrieveAndSetClip(java.lang.Object source)
-
readClip
protected javax.sound.sampled.Clip readClip(java.lang.Object source)
-
startClipRetrieval
protected void startClipRetrieval(java.lang.Object source)
-
stopClipRetrieval
protected void stopClipRetrieval()
-
-