|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.WorldWind
public final class WorldWind
| Field Summary | |
|---|---|
static String |
SHUTDOWN_EVENT
|
| Method Summary | |
|---|---|
static void |
addPropertyChangeListener(PropertyChangeListener listener)
|
static void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
static Object |
createComponent(String className)
|
static Object |
createComponentFromConfigurationFactory(String factoryClassKey,
String[] keys)
Creates a component using a specified Factory and one of several specified configuration mechanisms. |
static Object |
createConfigurationComponent(String classNameKey)
|
static FileStore |
getDataFileStore()
|
static MemoryCache |
getMemoryCache(String key)
|
static MemoryCacheSet |
getMemoryCacheSet()
|
static NetworkStatus |
getNetworkStatus()
|
static RetrievalService |
getRetrievalService()
|
static String |
getStringValue(String key)
|
static TaskService |
getTaskService()
|
static Object |
getValue(String key)
|
static boolean |
hasKey(String key)
|
static boolean |
isOfflineMode()
Indicates whether World Wind will attempt to connect to the network to retrieve data or for other reasons. |
static void |
removeKey(String key)
|
static void |
removePropertyChangeListener(PropertyChangeListener listener)
|
static void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
static void |
setOfflineMode(boolean offlineMode)
Indicate whether World Wind should attempt to connect to the network to retrieve data or for other reasons. |
static void |
setValue(String key,
String value)
|
static void |
shutDown()
Reinitialize World Wind to its initial ready state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SHUTDOWN_EVENT
| Method Detail |
|---|
public static void addPropertyChangeListener(PropertyChangeListener listener)
public static void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
public static Object createComponent(String className)
throws WWRuntimeException
className - the full name, including package names, of the component to create
WWRuntimeException - if the Object could not be created
IllegalArgumentException - if className is null or zero length
public static Object createComponentFromConfigurationFactory(String factoryClassKey,
String[] keys)
Factory and one of several specified configuration mechanisms. The
factory determines which mechanism to use, but typically attempts the specified ones in the order specified until
one is successful.
factoryClassKey - the key identifying the factory class name in Configuration.keys - an array of keys identifying the mechanisms to use to create the component. See Factory.createFromKeys(String[]) for a list of common method keys.
IllegalArgumentException - if the factory key is null or the key array is null or empty.
WWRuntimeException - if none of the methods are successful.
public static Object createConfigurationComponent(String classNameKey)
throws IllegalStateException,
IllegalArgumentException
classNameKey - the key identifying the component
IllegalStateException - if no name could be found which corresponds to classNameKey
IllegalArgumentException - if classNameKey is null
WWRuntimeException - if the component could not be createdpublic static FileStore getDataFileStore()
public static MemoryCache getMemoryCache(String key)
public static MemoryCacheSet getMemoryCacheSet()
public static NetworkStatus getNetworkStatus()
public static RetrievalService getRetrievalService()
public static String getStringValue(String key)
public static TaskService getTaskService()
public static Object getValue(String key)
public static boolean hasKey(String key)
public static boolean isOfflineMode()
true if World Wind is in off-line mode, false if not.NetworkStatuspublic static void removeKey(String key)
public static void removePropertyChangeListener(PropertyChangeListener listener)
public static void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
public static void setOfflineMode(boolean offlineMode)
false, indicating that the network should be used.
offlineMode - true if World Wind should use the network, false otherwiseNetworkStatus
public static void setValue(String key,
String value)
public static void shutDown()
WorldWindow objects is indeterminate subsequent to invocation of this method. The
core WorldWindow objects attempt to shut themselves down cleanly during the call, but their resulting window
state is undefined.
World Wind can continue to be used after calling this method.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||