gov.nasa.worldwind.examples
Class AnnotationControls
java.lang.Object
gov.nasa.worldwind.examples.ApplicationTemplate
gov.nasa.worldwind.examples.AnnotationControls
public class AnnotationControls
- extends ApplicationTemplate
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
AnnotationControls
public AnnotationControls()
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)