public final class WorldWind extends 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 String |
SHUTDOWN_EVENT |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPropertyChangeListener(PropertyChangeListener listener) |
static void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
static Object |
createComponent(String className) |
static Object |
createConfigurationComponent(String classNameKey) |
static FileStore |
getDataFileStore() |
static RetrievalService |
getLocalRetrievalService() |
static MemoryCache |
getMemoryCache(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 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,
Object value) |
static void |
setValue(String key,
String value) |
static void |
shutDown()
Reinitialize World Wind 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 String SHUTDOWN_EVENT
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 createWWRuntimeException - if the Object could not be createdIllegalArgumentException - if className is null or zero lengthpublic static Object createConfigurationComponent(String classNameKey) throws IllegalStateException, IllegalArgumentException
classNameKey - the key identifying the componentIllegalStateException - if no name could be found which corresponds to classNameKeyIllegalArgumentException - if classNameKey is nullWWRuntimeException - if the component could not be createdpublic static FileStore getDataFileStore()
public static RetrievalService getLocalRetrievalService()
public static MemoryCache getMemoryCache(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 TaskService getTaskService()
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 otherwiseNetworkStatuspublic 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.