public final class WorldWind
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ABSOLUTE |
static int |
ANTIALIAS_DONT_CARE |
static int |
ANTIALIAS_FASTEST |
static int |
ANTIALIAS_NICEST |
static int |
CLAMP_TO_GROUND |
static int |
CONSTANT |
static int |
GREAT_CIRCLE |
static int |
LINEAR |
static int |
RELATIVE_TO_GROUND |
static int |
RHUMB_LINE |
static java.lang.String |
SHUTDOWN_EVENT |
Modifier and Type | Method and Description |
---|---|
static void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
static void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener) |
static java.lang.Object |
createComponent(java.lang.String className) |
static java.lang.Object |
createConfigurationComponent(java.lang.String classNameKey) |
static FileStore |
getDataFileStore() |
static RetrievalService |
getLocalRetrievalService() |
static MemoryCache |
getMemoryCache(java.lang.String key) |
static MemoryCacheSet |
getMemoryCacheSet() |
static NetworkStatus |
getNetworkStatus() |
static RetrievalService |
getRemoteRetrievalService() |
static RetrievalService |
getRetrievalService() |
static ScheduledTaskService |
getScheduledTaskService()
Get the scheduled task service.
|
static SessionCache |
getSessionCache() |
static java.lang.String |
getStringValue(java.lang.String key) |
static TaskService |
getTaskService() |
static java.lang.Object |
getValue(java.lang.String key) |
static boolean |
hasKey(java.lang.String key) |
static boolean |
isOfflineMode()
Indicates whether WorldWind will attempt to connect to the network to retrieve data or for other reasons.
|
static void |
removeKey(java.lang.String key) |
static void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
static void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener) |
static void |
setOfflineMode(boolean offlineMode)
Indicate whether WorldWind should attempt to connect to the network to retrieve data or for other reasons.
|
static void |
setValue(java.lang.String key,
java.lang.Object value) |
static void |
setValue(java.lang.String key,
java.lang.String value) |
static void |
shutDown()
Reinitialize WorldWind to its initial ready state.
|
public static final int ABSOLUTE
public static final int ANTIALIAS_DONT_CARE
public static final int ANTIALIAS_FASTEST
public static final int ANTIALIAS_NICEST
public static final int CLAMP_TO_GROUND
public static final int CONSTANT
public static final int GREAT_CIRCLE
public static final int LINEAR
public static final int RELATIVE_TO_GROUND
public static final int RHUMB_LINE
public static final java.lang.String SHUTDOWN_EVENT
public static void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public static void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
public static java.lang.Object createComponent(java.lang.String className) throws WWRuntimeException
className
- the full name, including package names, of the component to createWWRuntimeException
- if the Object
could not be createdjava.lang.IllegalArgumentException
- if className
is null or zero lengthpublic static java.lang.Object createConfigurationComponent(java.lang.String classNameKey) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
classNameKey
- the key identifying the componentjava.lang.IllegalStateException
- if no name could be found which corresponds to classNameKey
java.lang.IllegalArgumentException
- if classNameKey
is nullWWRuntimeException
- if the component could not be createdpublic static FileStore getDataFileStore()
public static RetrievalService getLocalRetrievalService()
public static MemoryCache getMemoryCache(java.lang.String key)
public static MemoryCacheSet getMemoryCacheSet()
public static NetworkStatus getNetworkStatus()
public static RetrievalService getRemoteRetrievalService()
public static RetrievalService getRetrievalService()
public static ScheduledTaskService getScheduledTaskService()
public static SessionCache getSessionCache()
public static java.lang.String getStringValue(java.lang.String key)
public static TaskService getTaskService()
public static java.lang.Object getValue(java.lang.String key)
public static boolean hasKey(java.lang.String key)
public static boolean isOfflineMode()
true
if WorldWind is in off-line mode, false
if not.NetworkStatus
public static void removeKey(java.lang.String key)
public static void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public static void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
public static void setOfflineMode(boolean offlineMode)
false
, indicating that the network should be used.offlineMode
- true
if WorldWind should use the network, false
otherwiseNetworkStatus
public static void setValue(java.lang.String key, java.lang.Object value)
public static void setValue(java.lang.String key, java.lang.String value)
public static void shutDown()
Call this method to reduce WorldWind's current resource usage to its initial, empty state.
The state of any open 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.
WorldWind can continue to be used after calling this method.