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 String AUDIO
           
protected static String ICON_AUDIO
           
protected static String ICON_IMAGES
           
protected static String IMAGES
           
protected static String URL_AUDIO_MUSIC
           
protected static String URL_AUDIO_PERU
           
protected static String URL_AUDIO_WELCOME
           
protected static String URL_IMAGE_01
           
protected static String URL_IMAGE_02
           
protected static String URL_IMAGE_03
           
protected static String URL_IMAGE_04
           
protected static String URL_IMAGE_05
           
 
Constructor Summary
AnnotationControls()
           
 
Method Summary
static AnnotationControls.ContentAnnotation createAudioAnnotation(AnnotationControls.AppFrame appFrame, Position position, String title, Object source)
           
static AnnotationControls.ContentAnnotation createContentAnnotation(AnnotationControls.AppFrame appFrame, Position position, AVList params)
           
static String createErrorTitle(String path)
           
static WWIcon createIcon(Object type, Position position, String title, Object data)
           
static IconLayer createIconLayer()
           
static AnnotationControls.ContentAnnotation createImageAnnotation(AnnotationControls.AppFrame appFrame, Position position, String title, Iterable sources)
           
static String createTitle(Iterable sources)
           
static void main(String[] args)
           
static Clip openAudioURL(URL url)
           
static URL urlFromPath(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 String AUDIO
See Also:
Constant Field Values

ICON_AUDIO

protected static final String ICON_AUDIO
See Also:
Constant Field Values

ICON_IMAGES

protected static final String ICON_IMAGES
See Also:
Constant Field Values

IMAGES

protected static final String IMAGES
See Also:
Constant Field Values

URL_AUDIO_MUSIC

protected static final String URL_AUDIO_MUSIC
See Also:
Constant Field Values

URL_AUDIO_PERU

protected static final String URL_AUDIO_PERU
See Also:
Constant Field Values

URL_AUDIO_WELCOME

protected static final String URL_AUDIO_WELCOME
See Also:
Constant Field Values

URL_IMAGE_01

protected static final String URL_IMAGE_01
See Also:
Constant Field Values

URL_IMAGE_02

protected static final String URL_IMAGE_02
See Also:
Constant Field Values

URL_IMAGE_03

protected static final String URL_IMAGE_03
See Also:
Constant Field Values

URL_IMAGE_04

protected static final String URL_IMAGE_04
See Also:
Constant Field Values

URL_IMAGE_05

protected static final 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,
                                                                         String title,
                                                                         Object source)

createContentAnnotation

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

createErrorTitle

public static String createErrorTitle(String path)

createIcon

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

createIconLayer

public static IconLayer createIconLayer()

createImageAnnotation

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

createTitle

public static String createTitle(Iterable sources)

main

public static void main(String[] args)

openAudioURL

public static Clip openAudioURL(URL url)
                         throws Exception
Throws:
Exception

urlFromPath

public static URL urlFromPath(String urlString)

NASA World Wind