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.Clipclipprotected java.lang.ThreadreadThreadprotected java.lang.Objectsource-
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 voiddetach()protected voiddoRetrieveAndSetClip(java.lang.Object source)java.lang.ObjectgetSource()protected javax.sound.sampled.ClipreadClip(java.lang.Object source)protected voidretrieveAndSetClip(java.lang.Object source)protected voidstartClipRetrieval(java.lang.Object source)protected voidstopClipRetrieval()protected voidstopController(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:
detachin 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()
-
-