NASA World Wind

gov.nasa.worldwind.examples
Class AnnotationControls

java.lang.Object
  extended by gov.nasa.worldwind.examples.ApplicationTemplate
      extended by gov.nasa.worldwind.examples.AnnotationControls

public class AnnotationControls
extends ApplicationTemplate


Nested Class Summary
static class AnnotationControls.AppFrame
           
static class AnnotationControls.AudioContentAnnotation
           
static class AnnotationControls.ContentAnnotation
           
static class AnnotationControls.ImageContentAnnotation
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Field Summary
protected static java.lang.String AUDIO
           
protected static java.lang.String ICON_AUDIO
           
protected static java.lang.String ICON_IMAGES
           
protected static java.lang.String IMAGES
           
protected static java.lang.String URL_AUDIO_MUSIC
           
protected static java.lang.String URL_AUDIO_PERU
           
protected static java.lang.String URL_AUDIO_WELCOME
           
protected static java.lang.String URL_IMAGE_01
           
protected static java.lang.String URL_IMAGE_02
           
protected static java.lang.String URL_IMAGE_03
           
protected static java.lang.String URL_IMAGE_04
           
protected static java.lang.String URL_IMAGE_05
           
 
Constructor Summary
AnnotationControls()
           
 
Method Summary
static AnnotationControls.ContentAnnotation createAudioAnnotation(AnnotationControls.AppFrame appFrame, Position position, java.lang.String title, java.lang.Object source)
           
static AnnotationControls.ContentAnnotation createContentAnnotation(AnnotationControls.AppFrame appFrame, Position position, AVList params)
           
static java.lang.String createErrorTitle(java.lang.String path)
           
static WWIcon createIcon(java.lang.Object type, Position position, java.lang.String title, java.lang.Object data)
           
static IconLayer createIconLayer()
           
static AnnotationControls.ContentAnnotation createImageAnnotation(AnnotationControls.AppFrame appFrame, Position position, java.lang.String title, java.lang.Iterable sources)
           
static java.lang.String createTitle(java.lang.Iterable sources)
           
static void main(java.lang.String[] args)
           
static javax.sound.sampled.Clip openAudioURL(java.net.URL url)
           
static java.net.URL urlFromPath(java.lang.String urlString)
           
 
Methods inherited from class gov.nasa.worldwind.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUDIO

protected static final java.lang.String AUDIO
See Also:
Constant Field Values

ICON_AUDIO

protected static final java.lang.String ICON_AUDIO
See Also:
Constant Field Values

ICON_IMAGES

protected static final java.lang.String ICON_IMAGES
See Also:
Constant Field Values

IMAGES

protected static final java.lang.String IMAGES
See Also:
Constant Field Values

URL_AUDIO_MUSIC

protected static final java.lang.String URL_AUDIO_MUSIC
See Also:
Constant Field Values

URL_AUDIO_PERU

protected static final java.lang.String URL_AUDIO_PERU
See Also:
Constant Field Values

URL_AUDIO_WELCOME

protected static final java.lang.String URL_AUDIO_WELCOME
See Also:
Constant Field Values

URL_IMAGE_01

protected static final java.lang.String URL_IMAGE_01
See Also:
Constant Field Values

URL_IMAGE_02

protected static final java.lang.String URL_IMAGE_02
See Also:
Constant Field Values

URL_IMAGE_03

protected static final java.lang.String URL_IMAGE_03
See Also:
Constant Field Values

URL_IMAGE_04

protected static final java.lang.String URL_IMAGE_04
See Also:
Constant Field Values

URL_IMAGE_05

protected static final java.lang.String URL_IMAGE_05
See Also:
Constant Field Values
Constructor Detail

AnnotationControls

public AnnotationControls()
Method Detail

createAudioAnnotation

public static AnnotationControls.ContentAnnotation createAudioAnnotation(AnnotationControls.AppFrame appFrame,
                                                                         Position position,
                                                                         java.lang.String title,
                                                                         java.lang.Object source)

createContentAnnotation

public static AnnotationControls.ContentAnnotation createContentAnnotation(AnnotationControls.AppFrame appFrame,
                                                                           Position position,
                                                                           AVList params)

createErrorTitle

public static java.lang.String createErrorTitle(java.lang.String path)

createIcon

public static WWIcon createIcon(java.lang.Object type,
                                Position position,
                                java.lang.String title,
                                java.lang.Object data)

createIconLayer

public static IconLayer createIconLayer()

createImageAnnotation

public static AnnotationControls.ContentAnnotation createImageAnnotation(AnnotationControls.AppFrame appFrame,
                                                                         Position position,
                                                                         java.lang.String title,
                                                                         java.lang.Iterable sources)

createTitle

public static java.lang.String createTitle(java.lang.Iterable sources)

main

public static void main(java.lang.String[] args)

openAudioURL

public static javax.sound.sampled.Clip openAudioURL(java.net.URL url)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

urlFromPath

public static java.net.URL urlFromPath(java.lang.String urlString)

NASA World Wind