NASA World Wind

gov.nasa.worldwind.examples
Class AnnotationControls.AudioContentAnnotation

java.lang.Object
  extended by gov.nasa.worldwind.examples.AnnotationControls.ContentAnnotation
      extended by gov.nasa.worldwind.examples.AnnotationControls.AudioContentAnnotation
All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
AnnotationControls

public static class AnnotationControls.AudioContentAnnotation
extends AnnotationControls.ContentAnnotation


Field Summary
protected  Clip clip
           
protected  Thread readThread
           
protected  Object source
           
 
Fields inherited from class gov.nasa.worldwind.examples.AnnotationControls.ContentAnnotation
annnotation, appFrame, controller
 
Constructor Summary
AnnotationControls.AudioContentAnnotation(AnnotationControls.AppFrame appFrame, AudioPlayerAnnotation annnotation, AudioPlayerAnnotationController controller, Object source)
           
 
Method Summary
 void detach()
           
protected  void doRetrieveAndSetClip(Object source)
           
 Object getSource()
           
protected  Clip readClip(Object source)
           
protected  void retrieveAndSetClip(Object source)
           
protected  void startClipRetrieval(Object source)
           
protected  void stopClipRetrieval()
           
protected  void stopController(AudioPlayerAnnotationController controller)
           
 
Methods inherited from class gov.nasa.worldwind.examples.AnnotationControls.ContentAnnotation
actionPerformed, attach, getAnnotation, getAppFrame, getController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clip

protected Clip clip

readThread

protected Thread readThread

source

protected Object source
Constructor Detail

AnnotationControls.AudioContentAnnotation

public AnnotationControls.AudioContentAnnotation(AnnotationControls.AppFrame appFrame,
                                                 AudioPlayerAnnotation annnotation,
                                                 AudioPlayerAnnotationController controller,
                                                 Object source)
Method Detail

detach

public void detach()
Overrides:
detach in class AnnotationControls.ContentAnnotation

doRetrieveAndSetClip

protected void doRetrieveAndSetClip(Object source)

getSource

public Object getSource()

readClip

protected Clip readClip(Object source)

retrieveAndSetClip

protected void retrieveAndSetClip(Object source)

startClipRetrieval

protected void startClipRetrieval(Object source)

stopClipRetrieval

protected void stopClipRetrieval()

stopController

protected void stopController(AudioPlayerAnnotationController controller)

NASA World Wind