diff --git a/.travis.yml b/.travis.yml index 317aa0c934..919c506533 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -# Directs the Travis CI build service for World Wind Java +# Directs the Travis CI build service for WorldWind Java # For more information see https://docs.travis-ci.com/user/customizing-the-build/ # Set up to run the Java build script per the Travis CI documentation diff --git a/Design and Coding Guidelines.html b/Design and Coding Guidelines.html new file mode 100644 index 0000000000..089a37e149 --- /dev/null +++ b/Design and Coding Guidelines.html @@ -0,0 +1,290 @@ + + + + +

WorldWind Multi-Platform Design and Coding Guidelines

+ +

General

+ + +

Exceptions

+ + +

Logging

+ + +

Concurrency

+ + +

Offline Mode

+ +

WorldWind's use of the network can be disabled by calling {@link gov.nasa.WorldWind.setOfflineMode}. Prior to + attempting retrieval of a network resource -- anything addressed by a URL -- WorldWind checks the offline-mode + setting and does not attempt retrieval if the value is true. To honor this contract, all code must check network + status prior to attempting retrieval of a resource on the network.

+ +

Documentation

+ + +

Code Formatting

+ + +

Internationalization (i18n)

+ + +

Books

+The books we go back to again and again are the following: + + \ No newline at end of file diff --git a/GDAL_README.txt b/GDAL_README.txt index c0271570a7..a95dc3ca1c 100644 --- a/GDAL_README.txt +++ b/GDAL_README.txt @@ -6,26 +6,26 @@ # $Id: GDAL_README.txt 1171 2013-02-11 21:45:02Z dcollins $ -This document provides guidance on deploying applications that use the World Wind GDAL libraries. +This document provides guidance on deploying applications that use the WorldWind GDAL libraries. Version ------------------------------------------------------------ -World Wind uses GDAL version 1.7.2, and LizardTech's Decode SDK version 7.0.0.2167. +WorldWind uses GDAL version 1.7.2, and LizardTech's Decode SDK version 7.0.0.2167. Supported Platforms ------------------------------------------------------------ -World Wind supports Windows 32/64-bit, Linux 32/64-bit, and Mac OSX. The World Wind SDK therefore contains +WorldWind supports Windows 32/64-bit, Linux 32/64-bit, and Mac OSX. The WorldWind SDK therefore contains GDAL, PROJ4, and MRSiD binaries for the following platforms: - MacOSX universal - Windows 32-bit and Windows 64-bit - Linux 32-bit and Linux 64-bit -World Wind GDAL Libraries +WorldWind GDAL Libraries ------------------------------------------------------------ To simplify deployment, our GDAL+PRO4+MRSID bundles are compiled as a single dynamic library which has all dependent @@ -36,7 +36,7 @@ GDAL and PROJ4 libraries require data tables located in the lib-external/gdal/da tables in the "data" sub-folder. WWJ attempts to locate GDAL bundles during the startup. By default WWJ will first look for GDAL native binaries in the -current path, then in to the lib-external/gdal/ folder. If no GDAL bundle was found World Wind attempts to locate the +current path, then in to the lib-external/gdal/ folder. If no GDAL bundle was found WorldWind attempts to locate the GDAL bundle in the sub-folders. Therefore we recommend one of two options: 1) Place the GDAL libraries in the folder "lib-external/gdal". 2) Place the GDAL libraries in the application's root folder. @@ -45,5 +45,5 @@ GDAL bundle in the sub-folders. Therefore we recommend one of two options: Deploying with Java Web Start ------------------------------------------------------------ -Instructions for using the World Wind GDAL libraries with a Java Web Start application are available at +Instructions for using the WorldWind GDAL libraries with a Java Web Start application are available at https://goworldwind.org/getting-started/ diff --git a/README.md b/README.md index 8266d1dfc5..01338aaf3a 100755 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -# World Wind Java +# WorldWind Java [![Build Status](https://travis-ci.org/NASAWorldWind/WorldWindJava.svg?branch=develop)](https://travis-ci.org/NASAWorldWind/WorldWindJava) 3D virtual globe API for desktop Java, developed by NASA. Provides a geographic context with high-resolution terrain, for visualizing geographic or geo-located information in 3D and 2D. Developers can customize the globe's terrain and imagery. Provides a collection of shapes for displaying and interacting with geographic data and representing a range of geometric objects. - [worldwind.arc.nasa.gov](https://worldwind.arc.nasa.gov) has setup instructions, developers guides, API documentation and more -- [World Wind Forum](https://forum.worldwindcentral.com) provides help from the World Wind community -- [IntelliJ IDEA](https://www.jetbrains.com/idea) is used by the NASA World Wind development team +- [WorldWind Forum](https://forum.worldwindcentral.com) provides help from the WorldWind community +- [IntelliJ IDEA](https://www.jetbrains.com/idea) is used by the NASA WorldWind development team ## Releases and Roadmap -Official World Wind Java releases have the latest stable features, enhancements and bug fixes ready for production use. +Official WorldWind Java releases have the latest stable features, enhancements and bug fixes ready for production use. - [GitHub Releases](https://github.com/NASAWorldWind/WorldWindJava/releases/) documents official releases - [GitHub Milestones](https://github.com/NASAWorldWind/WorldWindJava/milestones) documents upcoming releases and the development roadmap @@ -22,7 +22,7 @@ Official World Wind Java releases have the latest stable features, enhancements ###### From a Web Browser -- [World Wind Demo App](https://worldwind.arc.nasa.gov/java/latest/webstart/ApplicationTemplate.jnlp) shows World Wind's basic capabilities +- [WorldWind Demo App](https://worldwind.arc.nasa.gov/java/latest/webstart/ApplicationTemplate.jnlp) shows WorldWind's basic capabilities - [Java Demos](https://goworldwind.org/demos) has a complete list of example apps ###### From a Windows Development Environment @@ -30,7 +30,7 @@ Official World Wind Java releases have the latest stable features, enhancements - Download and extract the [Latest Release](https://github.com/NASAWorldWind/WorldWindJava/releases/latest) - Open the Command Prompt ```bash -cd [World Wind release] +cd [WorldWind release] run-demo.bat ``` @@ -39,13 +39,13 @@ run-demo.bat - Download and extract the [Latest Release](https://github.com/NASAWorldWind/WorldWindJava/releases/latest) - Open the Terminal app ```bash -cd [World Wind release] +cd [WorldWind release] sh run-demo.bash ``` ###### Troubleshooting -World Wind requires a modern graphics card with a current driver. Most display problems are caused by out-of-date +WorldWind requires a modern graphics card with a current driver. Most display problems are caused by out-of-date graphics drivers. On Windows, visit your graphics card manufacturer's web site for the latest driver: NVIDIA, ATI or Intel. The drivers are typically under a link named Downloads or Support. If you're using a laptop, the latest drivers are found at the laptop manufacturer's web site. @@ -53,7 +53,7 @@ are found at the laptop manufacturer's web site. ## JOGL Native Binaries JOGL performs runtime extraction of native binaries. Some deployment situations may not allow this because it extracts -the binaries to the application user’s temp directory. Runtime extraction can be avoided by by modifying World Wind +the binaries to the application user’s temp directory. Runtime extraction can be avoided by by modifying WorldWind Java's JOGL distribution to load native binaries directly from the library path instead of dynamically using the native binary JAR files as follows: @@ -69,7 +69,7 @@ binary JAR files as follows: ## License - NASA WORLD WIND + NASA WORLDWIND Copyright (C) 2001 United States Government as represented by the Administrator of the @@ -90,7 +90,7 @@ binary JAR files as follows: Government Agency: National Aeronautics and Space Administration (NASA) Government Agency Original Software Designation: ARC-15166-1 - Government Agency Original Software Title: NASA World Wind + Government Agency Original Software Title: NASA WorldWind User Registration Requested. Please send email with your contact information to Patrick.Hogan@nasa.gov Government Agency Point of Contact for Original Software: Patrick.Hogan@nasa.gov diff --git a/README_DEVELOPER.txt b/README_DEVELOPER.txt index e63d0a7f20..beb384655a 100644 --- a/README_DEVELOPER.txt +++ b/README_DEVELOPER.txt @@ -6,23 +6,23 @@ # $Id: README_DEVELOPER.txt 1934 2014-04-15 19:24:07Z dcollins $ -This document provides notes and instructions for World Wind Java development team members in one place. +This document provides notes and instructions for WorldWind Java development team members in one place. JOGL Library Overview ------------------------------------------------------------ -The JOGL library provides World Wind Java with (1) a Java binding to the OpenGL API, and (2) OpenGL contexts compatible +The JOGL library provides WorldWind Java with (1) a Java binding to the OpenGL API, and (2) OpenGL contexts compatible with Java's AWT and Swing windowing toolkits: http://jogamp.org/jogl/www/ -World Wind Java uses JOGL v2.1.5, released on 11 March 2014 and downloaded from: +WorldWind Java uses JOGL v2.1.5, released on 11 March 2014 and downloaded from: http://jogamp.org/deployment/v2.1.5/archive/jogamp-all-platforms.7z -The JOGL library compiled JAR files and README files are checked into the World Wind Java source, distributed with all -World Wind Java builds and included in the World Wind Java Web Start deployment. This is necessary in order ensure -correct operation of World Wind Java, as changes in JOGL are occasionally unstable or incompatible with previous -versions. Additionally, World Wind Java's copy of the JOGL JAR files are modified to enable Web Start deployment outside +The JOGL library compiled JAR files and README files are checked into the WorldWind Java source, distributed with all +WorldWind Java builds and included in the WorldWind Java Web Start deployment. This is necessary in order ensure +correct operation of WorldWind Java, as changes in JOGL are occasionally unstable or incompatible with previous +versions. Additionally, WorldWind Java's copy of the JOGL JAR files are modified to enable Web Start deployment outside of the jogamp.org domain. @@ -33,7 +33,7 @@ Updating the JOGL Library packages are organized by version at the following URL: http://jogamp.org/deployment/ -2) Extract the archive, then copy the following 15 files to the World Wind Java project root: +2) Extract the archive, then copy the following 15 files to the WorldWind Java project root: gluegen-rt-natives-linux-amd64.jar gluegen-rt-natives-linux-i586.jar gluegen-rt-natives-macosx-universal.jar @@ -51,7 +51,7 @@ jogl.LICENSE.txt jogl.README.txt 3) Remove the Codebase manifest attribute from all JOGL JAR files. This step enables the JOGL JAR files to be -deployed via the World Wind Java Web Start site: +deployed via the WorldWind Java Web Start site: - Run the ANT task jogl.jarfiles.unpack. This task extracts the contents of all 12 GlueGen and JOGL JAR files into individual folders under jogl-jarfiles. - For each JAR file folder under jogl-jarfiles open the file META-INF/MANIFEST.MF, delete the line diff --git a/VPF_README.txt b/VPF_README.txt index b3416ab5fa..c54a829319 100644 --- a/VPF_README.txt +++ b/VPF_README.txt @@ -12,7 +12,7 @@ to build it. 1) PURPOSE OF VPF-SYMBOLS.JAR -The JAR file vpf-symbols.jar found in the World Wind Java SDK contains style definitions and PNG icons for Vector +The JAR file vpf-symbols.jar found in the WorldWind Java SDK contains style definitions and PNG icons for Vector Product Format (VPF) shapes. vpf-symbols.jar is 1.8 MB in size, and is therefore distributed separately to avoid increasing the size of worldwind.jar for the sake of supporting VPF, an uncommonly used feature. @@ -25,17 +25,17 @@ GeoSym: http://www.gwg.nga.mil/pfg_documents.php 2) USING VPF-SYMBOLS.JAR The JAR file vpf-symbols.jar must be distributed and included in the runtime class-path by applications using the World -Wind class gov.nasa.worldwind.formats.vpf.VPFLayer. When added to an application's class-path, World Wind VPF shapes +Wind class gov.nasa.worldwind.formats.vpf.VPFLayer. When added to an application's class-path, WorldWind VPF shapes automatically find and locate style and icon resources contained within this JAR file. -If vpf-symbols.jar is not in the Java class-path, VPFLayer outputs the following message in the World Wind log: +If vpf-symbols.jar is not in the Java class-path, VPFLayer outputs the following message in the WorldWind log: "WARNING: GeoSym style support is disabled". In this case, VPF shapes are displayed as gray outlines, and icons are displayed as a gray question mark. 3) BUILDING VPF-SYMBOLS.JAR -To build or reconstruct the VPF symbols JAR file for the World Wind Java SDK, follow these six steps: +To build or reconstruct the VPF symbols JAR file for the WorldWind Java SDK, follow these six steps: - Download and extract the GeoSym Second Edition package. Download the GeoSym archive from the National Geospatial-Intelligence Agency (NGA) at the following page, then extract @@ -60,7 +60,7 @@ on ImageIO. - Copy all GeoSym style tables. Copy all files under the directory GeoSymEd2Final/SYMASGN/ASCII to the directory geosym/symasgn/ascii. -- Convert GeoSym line and area styles to World Wind shape attributes. +- Convert GeoSym line and area styles to WorldWind shape attributes. Run the Java application gov.nasa.worldwind.formats.vpf.GeoSymAttributeConverter from the shell, passing the full path to GeoSymEd2Final/GRAPHICS/TEXT as the application's only parameter. Copy the output PNG files under gsac-out/geosym/graphics/bin to the following directory created earlier: geosym/graphics/bin. Copy the output CSV files diff --git a/build.macros.xml b/build.macros.xml index c7e3a91884..f7b257f286 100644 --- a/build.macros.xml +++ b/build.macros.xml @@ -13,7 +13,7 @@ on the current machine, resulting in unpredictable class versions. The javac compiler argument '-Xlint:unchecked' is specified in order to give more detail for unchecked - conversion warnings. This argument is specified in the World Wind Java IntelliJ IDEA project. Its use here + conversion warnings. This argument is specified in the WorldWind Java IntelliJ IDEA project. Its use here keeps ANT compiled classes in sync with the IntelliJ IDEA compiled classes. --> @@ -42,15 +42,15 @@ @@ -87,7 +87,7 @@ @@ -134,7 +134,7 @@ - + @@ -428,7 +428,7 @@ + in order to deploy these files from the WorldWind Java Web Start site. --> @@ -528,7 +528,7 @@ - + diff --git a/src/config/worldwind.layers.xml b/src/config/worldwind.layers.xml index e2f9bef15d..d7ffef9a59 100644 --- a/src/config/worldwind.layers.xml +++ b/src/config/worldwind.layers.xml @@ -6,7 +6,7 @@ --> - + diff --git a/src/config/worldwind.xml b/src/config/worldwind.xml index 71efc9e999..55624061cc 100644 --- a/src/config/worldwind.xml +++ b/src/config/worldwind.xml @@ -6,7 +6,7 @@ --> - + @@ -65,7 +65,7 @@ - + diff --git a/src/gov/nasa/worldwind/Configuration.java b/src/gov/nasa/worldwind/Configuration.java index 654d3c034f..2b311ea3fa 100644 --- a/src/gov/nasa/worldwind/Configuration.java +++ b/src/gov/nasa/worldwind/Configuration.java @@ -18,7 +18,7 @@ import java.util.logging.Level; /** - * This class manages the initial World Wind configuration. It reads World Wind configuration files and registers their + * This class manages the initial WorldWind configuration. It reads WorldWind configuration files and registers their * contents. Configurations files contain the names of classes to create at run-time, the initial model definition, * including the globe, elevation model and layers, and various control quantities such as cache sizes and data * retrieval timeouts. @@ -28,21 +28,21 @@ *

* When the Configuration class is first instantiated it reads the XML document config/worldwind.xml and * registers all the information there. The information can subsequently be retrieved via the class' various - * getValue methods. Many World Wind start-up objects query this information to determine the classes to - * create. For example, the first World Wind object created by an application is typically a {@link - * gov.nasa.worldwind.awt.WorldWindowGLCanvas}. During construction that class causes World Wind's internal classes to + * getValue methods. Many WorldWind start-up objects query this information to determine the classes to + * create. For example, the first WorldWind object created by an application is typically a {@link + * gov.nasa.worldwind.awt.WorldWindowGLCanvas}. During construction that class causes WorldWind's internal classes to * be constructed, using the names of those classes drawn from the Configuration singleton, this class. *

- * The default World Wind configuration document is config/worldwind.xml. This can be changed by setting + * The default WorldWind configuration document is config/worldwind.xml. This can be changed by setting * the Java property gov.nasa.worldwind.config.file to a different file name or a valid URL prior to - * creating any World Wind object or invoking any static methods of World Wind classes, including the Configuration + * creating any WorldWind object or invoking any static methods of WorldWind classes, including the Configuration * class. When an application specifies a different configuration location it typically does so in its main method prior - * to using World Wind. If a file is specified its location must be on the classpath. (The contents of application and - * World Wind jar files are typically on the classpath, in which case the configuration file may be in the jar file.) + * to using WorldWind. If a file is specified its location must be on the classpath. (The contents of application and + * WorldWind jar files are typically on the classpath, in which case the configuration file may be in the jar file.) *

* Additionally, an application may set another Java property, gov.nasa.worldwind.app.config.document, to a * file name or URL whose contents contain configuration values to override those of the primary configuration document. - * World Wind overrides only those values in this application document, it leaves all others to the value specified in + * WorldWind overrides only those values in this application document, it leaves all others to the value specified in * the primary document. Applications usually specify an override document in order to specify the initial layers in the * model. *

@@ -54,7 +54,7 @@ * Note: Prior to September of 2009, configuration properties were read from the file * config/worldwind.properties. An alternate file could be specified via the * gov.nasa.worldwind.config.file Java property. These mechanisms remain available but are deprecated. - * World Wind no longer contains a worldwind.properties file. If worldwind.properties or its + * WorldWind no longer contains a worldwind.properties file. If worldwind.properties or its * replacement as specified through the Java property exists at run-time and can be found via the classpath, * configuration values specified by that mechanism are given precedence over values specified by the new mechanism. * @@ -644,7 +644,7 @@ public static float getJavaVersion() } /** - * Returns the highest OpenGL profile available on the current graphics device that is compatible with World Wind. + * Returns the highest OpenGL profile available on the current graphics device that is compatible with WorldWind. * The returned profile favors hardware acceleration over software acceleration. With JOGL version 2.0, this returns * the highest available profile from the following list: *

@@ -659,7 +659,7 @@ public static GLProfile getMaxCompatibleGLProfile() } /** - * Returns a {@link javax.media.opengl.GLCapabilities} identifying graphics features required by World Wind. The + * Returns a {@link javax.media.opengl.GLCapabilities} identifying graphics features required by WorldWind. The * capabilities instance returned requests the maximum OpenGL profile supporting GL fixed function operations, a * frame buffer with 8 bits each of red, green, blue and alpha, a 24-bit depth buffer, double buffering, and if the * Java property "gov.nasa.worldwind.stereo.mode" is set to "device", device supported stereo. diff --git a/src/gov/nasa/worldwind/StereoOptionSceneController.java b/src/gov/nasa/worldwind/StereoOptionSceneController.java index aabc28e2b8..e2e312bc8b 100644 --- a/src/gov/nasa/worldwind/StereoOptionSceneController.java +++ b/src/gov/nasa/worldwind/StereoOptionSceneController.java @@ -35,7 +35,7 @@ public class StereoOptionSceneController extends BasicSceneController implements StereoSceneController { /** - * The default focus angle. May be specified in the World Wind configuration file as the + * The default focus angle. May be specified in the WorldWind configuration file as the * gov.nasa.worldwind.StereoFocusAngle property. The default if not specified in the configuration is * 1.6 degrees. */ diff --git a/src/gov/nasa/worldwind/Version.java b/src/gov/nasa/worldwind/Version.java index 9f588792a5..351da32149 100644 --- a/src/gov/nasa/worldwind/Version.java +++ b/src/gov/nasa/worldwind/Version.java @@ -16,7 +16,7 @@ public class Version private static final String MINOR_VALUE = "1"; private static final String DOT_VALUE = "0"; private static final String versionNumber = "v" + MAJOR_VALUE + "." + MINOR_VALUE + "." + DOT_VALUE; - private static final String versionName = "NASA World Wind Java"; + private static final String versionName = "NASA WorldWind Java"; public static String getVersion() { diff --git a/src/gov/nasa/worldwind/View.java b/src/gov/nasa/worldwind/View.java index 55febe104c..fbbae7b5cc 100644 --- a/src/gov/nasa/worldwind/View.java +++ b/src/gov/nasa/worldwind/View.java @@ -262,7 +262,7 @@ public interface View extends WWObject, Restorable * reflects the values of this view, as do any computed values of the view, such as the modelview matrix, projection * matrix and viewing frustum. * - * @param dc the current World Wind DrawContext on which View will apply its state. + * @param dc the current WorldWind DrawContext on which View will apply its state. * * @throws IllegalArgumentException If dc is null, or if the Globe or GL * instances in dc are null. @@ -303,7 +303,7 @@ public interface View extends WWObject, Restorable * popReferenceCenter} after rendering is complete. Note that calls to {@link #getModelviewMatrix} will not return * reference-center model-view matrix, but the original matrix. * - * @param dc the current World Wind drawing context on which new model-view state will be applied. + * @param dc the current WorldWind drawing context on which new model-view state will be applied. * @param referenceCenter the location to become the new world origin. * * @return a new model-view matrix with origin is at referenceCenter, or null if this method failed. @@ -316,7 +316,7 @@ public interface View extends WWObject, Restorable /** * Removes the model-view matrix on top of the matrix stack, and restores the original matrix. * - * @param dc the current World Wind drawing context on which the original matrix will be restored. + * @param dc the current WorldWind drawing context on which the original matrix will be restored. * * @throws IllegalArgumentException if dc is null, or if the Globe or GL * instances in dc are null. diff --git a/src/gov/nasa/worldwind/WWObject.java b/src/gov/nasa/worldwind/WWObject.java index 5bae0643b3..fe93b76dee 100644 --- a/src/gov/nasa/worldwind/WWObject.java +++ b/src/gov/nasa/worldwind/WWObject.java @@ -10,7 +10,7 @@ import gov.nasa.worldwind.event.MessageListener; /** - * An interface provided by the major World Wind components to provide attribute-value list management and + * An interface provided by the major WorldWind components to provide attribute-value list management and * property change management. Classifies implementers as property-change listeners, allowing them to receive * property-change events. * diff --git a/src/gov/nasa/worldwind/WorldWind.java b/src/gov/nasa/worldwind/WorldWind.java index b6e4f1919b..ecee9897fc 100644 --- a/src/gov/nasa/worldwind/WorldWind.java +++ b/src/gov/nasa/worldwind/WorldWind.java @@ -94,16 +94,16 @@ private void dispose() } /** - * Reinitialize World Wind to its initial ready state. Shut down and restart all World Wind services and clear all - * World Wind memory caches. Cache memory will be released at the next JVM garbage collection. + * Reinitialize WorldWind to its initial ready state. Shut down and restart all WorldWind services and clear all + * WorldWind memory caches. Cache memory will be released at the next JVM garbage collection. *

- * Call this method to reduce World Wind's current resource usage to its initial, empty state. + * Call this method to reduce WorldWind's current resource usage to its initial, empty state. *

* The state of any open {@link 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. + * WorldWind can continue to be used after calling this method. */ public static synchronized void shutDown() { @@ -169,9 +169,9 @@ public static SessionCache getSessionCache() } /** - * Indicates whether World Wind will attempt to connect to the network to retrieve data or for other reasons. + * Indicates whether WorldWind will attempt to connect to the network to retrieve data or for other reasons. * - * @return true if World Wind is in off-line mode, false if not. + * @return true if WorldWind is in off-line mode, false if not. * * @see NetworkStatus */ @@ -181,10 +181,10 @@ public static boolean isOfflineMode() } /** - * Indicate whether World Wind should attempt to connect to the network to retrieve data or for other reasons. The + * Indicate whether WorldWind should attempt to connect to the network to retrieve data or for other reasons. The * default value for this attribute is false, indicating that the network should be used. * - * @param offlineMode true if World Wind should use the network, false otherwise + * @param offlineMode true if WorldWind should use the network, false otherwise * * @see NetworkStatus */ diff --git a/src/gov/nasa/worldwind/WorldWindow.java b/src/gov/nasa/worldwind/WorldWindow.java index 3273d40254..71c082c442 100644 --- a/src/gov/nasa/worldwind/WorldWindow.java +++ b/src/gov/nasa/worldwind/WorldWindow.java @@ -17,7 +17,7 @@ import java.util.*; /** - * The top-level interface common to all toolkit-specific World Wind windows. + * The top-level interface common to all toolkit-specific WorldWind windows. * * @author Tom Gaskins * @version $Id: WorldWindow.java 2047 2014-06-06 22:48:33Z tgaskins $ @@ -94,43 +94,43 @@ public interface WorldWindow extends AVList /** * Sets the input handler to use for this instance. * - * @param inputHandler The input handler to use for this world window. May by null if null - * is specified, the current input handler, if any, is disassociated with the world window. + * @param inputHandler The input handler to use for this WorldWindow. May by null if null + * is specified, the current input handler, if any, is disassociated with the WorldWindow. */ void setInputHandler(InputHandler inputHandler); /** - * Adds a rendering listener to this world window. Rendering listeners are called at key point during World Wind + * Adds a rendering listener to this WorldWindow. Rendering listeners are called at key point during WorldWind * drawing and provide applications the ability to participate or monitor rendering. * - * @param listener The rendering listener to add to those notified of rendering events by this world window. + * @param listener The rendering listener to add to those notified of rendering events by this WorldWindow. */ void addRenderingListener(RenderingListener listener); /** - * Removes a specified rendering listener associated with this world window. + * Removes a specified rendering listener associated with this WorldWindow. * * @param listener The rendering listener to remove. */ void removeRenderingListener(RenderingListener listener); /** - * Adds a select listener to this world window. Select listeners are called when a selection is made by the user in - * the world window. A selection is any operation that identifies a visible item. + * Adds a select listener to this WorldWindow. Select listeners are called when a selection is made by the user in + * the WorldWindow. A selection is any operation that identifies a visible item. * * @param listener The select listener to add. */ void addSelectListener(SelectListener listener); /** - * Removes the specified select listener associated with this world window. + * Removes the specified select listener associated with this WorldWindow. * * @param listener The select listener to remove. */ void removeSelectListener(SelectListener listener); /** - * Adds a position listener to this world window. Position listeners are called when the cursor's position changes. + * Adds a position listener to this WorldWindow. Position listeners are called when the cursor's position changes. * They identify the position of the cursor on the globe, or that the cursor is not on the globe. * * @param listener The position listener to add. @@ -138,21 +138,21 @@ public interface WorldWindow extends AVList void addPositionListener(PositionListener listener); /** - * Removes the specified position listener associated with this world window. + * Removes the specified position listener associated with this WorldWindow. * * @param listener The listener to remove. */ void removePositionListener(PositionListener listener); /** - * Causes a repaint event to be enqueued with the window system for this world window. The repaint will occur at the + * Causes a repaint event to be enqueued with the window system for this WorldWindow. The repaint will occur at the * window system's discretion, within the window system toolkit's event loop, and on the thread of that loop. This - * is the preferred method for requesting a repaint of the world window. + * is the preferred method for requesting a repaint of the WorldWindow. */ void redraw(); /** - * Immediately repaints the world window without waiting for a window system repaint event. This is not the + * Immediately repaints the WorldWindow without waiting for a window system repaint event. This is not the * preferred way to cause a repaint, but is provided for the rare cases that require it. */ void redrawNow(); @@ -166,8 +166,8 @@ public interface WorldWindow extends AVList Position getCurrentPosition(); /** - * Returns the World Wind objects at the current cursor position. The list of objects under the cursor is determined - * each time the world window is repainted. This method returns the list of objects determined when the most recent + * Returns the WorldWind objects at the current cursor position. The list of objects under the cursor is determined + * each time the WorldWindow is repainted. This method returns the list of objects determined when the most recent * repaint was performed. * * @return The list of objects at the cursor position, or null if no objects are under the cursor. @@ -175,8 +175,8 @@ public interface WorldWindow extends AVList PickedObjectList getObjectsAtCurrentPosition(); /** - * Returns the World Wind objects intersecting the current selection box. The list of objects in the selection box - * is determined each time the world window is repainted. This method returns the list of objects determined when + * Returns the WorldWind objects intersecting the current selection box. The list of objects in the selection box + * is determined each time the WorldWindow is repainted. This method returns the list of objects determined when * the most recent repaint was performed. * * @return The list of objects intersecting the selection box, or null if no objects are in the box. @@ -184,14 +184,14 @@ public interface WorldWindow extends AVList PickedObjectList getObjectsInSelectionBox(); /** - * Returns the GPU Resource used by this World Window. This method is for internal use only. + * Returns the GPU Resource used by this WorldWindow. This method is for internal use only. *

* Note: Applications do not need to interact with the GPU resource cache. It is self managed. Modifying it in any * way will cause significant problems such as excessive memory usage or application crashes. The only reason to use * the GPU resource cache is to request management of GPU resources within implementations of shapes or layers. And * then access should be only through the draw context only. * - * @return The GPU Resource cache used by this World Window. + * @return The GPU Resource cache used by this WorldWindow. */ GpuResourceCache getGpuResourceCache(); @@ -211,13 +211,13 @@ public interface WorldWindow extends AVList Collection getPerFrameStatistics(); // TODO: move the constants from AVKey to this interface. /** - * Causes resources used by the World Window to be freed. The World Window cannot be used once this method is + * Causes resources used by the WorldWindow to be freed. The WorldWindow cannot be used once this method is * called. */ void shutdown(); /** - * Adds an exception listener to this world window. Exception listeners are called when an exception or other + * Adds an exception listener to this WorldWindow. Exception listeners are called when an exception or other * critical event occurs during drawable initialization or during rendering. * * @param listener the The exception listener to add. @@ -225,7 +225,7 @@ public interface WorldWindow extends AVList void addRenderingExceptionListener(RenderingExceptionListener listener); /** - * Removes the specified rendering exception listener associated with this world window. + * Removes the specified rendering exception listener associated with this WorldWindow. * * @param listener The listener to remove. */ diff --git a/src/gov/nasa/worldwind/WorldWindowGLAutoDrawable.java b/src/gov/nasa/worldwind/WorldWindowGLAutoDrawable.java index 7628665d4d..44f8a3f63a 100644 --- a/src/gov/nasa/worldwind/WorldWindowGLAutoDrawable.java +++ b/src/gov/nasa/worldwind/WorldWindowGLAutoDrawable.java @@ -27,7 +27,7 @@ /** * A non-platform specific {@link WorldWindow} class. This class can be aggregated into platform-specific classes to - * provide the core functionality of World Wind. + * provide the core functionality of WorldWind. * * @author Tom Gaskins * @version $Id: WorldWindowGLAutoDrawable.java 2047 2014-06-06 22:48:33Z tgaskins $ @@ -236,7 +236,7 @@ else if (this.enableGpuCacheReinitialization) // 1) As of November 2012, we cannot find any evidence that the GL_ARB_texture_non_power_of_two extension is // problematic on Mac OS X machines with ATI graphics cards. The texture rectangle extension is more limiting // than the NPOT extension, and therefore not preferred. - // 2) World Wind assumes that a texture's target is always GL_TEXTURE_2D, and therefore incorrectly displays + // 2) WorldWind assumes that a texture's target is always GL_TEXTURE_2D, and therefore incorrectly displays // textures with the target GL_TEXTURE_RECTANGLE. TextureIO.setTexRectEnabled(false); @@ -263,7 +263,7 @@ protected void reinitialize(GLAutoDrawable glAutoDrawable) *

  • The WorldWindow is removed from its parent component.
  • The WorldWindow's parent frame is * closed.
  • The application calls either GLCanvas.dispose or GLJPanel.dispose.
*

- * This implementation is left empty. In the case when a WorldWindow or a World Wind application has reached its end + * This implementation is left empty. In the case when a WorldWindow or a WorldWind application has reached its end * of life, its resources should be released by calling {@link gov.nasa.worldwind.WorldWindow#shutdown()} or {@link * gov.nasa.worldwind.WorldWind#shutDown()}, respectively. In the case when a WorldWindow is removed from its parent * frame or that frame is closed without a call to shutdown, it is assumed that the application intends to reuse the diff --git a/src/gov/nasa/worldwind/WorldWindowImpl.java b/src/gov/nasa/worldwind/WorldWindowImpl.java index 64ce22ac13..73458d3aff 100644 --- a/src/gov/nasa/worldwind/WorldWindowImpl.java +++ b/src/gov/nasa/worldwind/WorldWindowImpl.java @@ -42,7 +42,7 @@ public WorldWindowImpl() } /** - * Causes resources used by the World Window to be freed. The World Window cannot be used once this method is + * Causes resources used by the WorldWindow to be freed. The WorldWindow cannot be used once this method is * called. An OpenGL context for the window must be current. */ public void shutdown() diff --git a/src/gov/nasa/worldwind/avlist/AVKey.java b/src/gov/nasa/worldwind/avlist/AVKey.java index fc5e961fc5..a109eeb848 100644 --- a/src/gov/nasa/worldwind/avlist/AVKey.java +++ b/src/gov/nasa/worldwind/avlist/AVKey.java @@ -85,7 +85,7 @@ public interface AVKey // TODO: Eliminate unused constants, if any final String DATA_TYPE = "gov.nasa.worldwind.avkey.DataType"; final String DELETE_CACHE_ON_EXIT = "gov.nasa.worldwind.avkey.DeleteCacheOnExit"; /** - * Indicates the World Wind scene's worst-case depth resolution, in meters. This is typically interpreted by the + * Indicates the WorldWind scene's worst-case depth resolution, in meters. This is typically interpreted by the * View as the desired resolution at the scene's maximum drawing distance. In this case, the resolution closer to * the viewer's eye point is significantly better then the worst-case resolution. Decreasing this value enables the * viewer to get closer to 3D shapes positioned above the terrain at the coast of potential rendering artifacts diff --git a/src/gov/nasa/worldwind/awt/AWTInputHandler.java b/src/gov/nasa/worldwind/awt/AWTInputHandler.java index 8c4f78a581..5a907e6835 100644 --- a/src/gov/nasa/worldwind/awt/AWTInputHandler.java +++ b/src/gov/nasa/worldwind/awt/AWTInputHandler.java @@ -372,7 +372,7 @@ public void mousePressed(MouseEvent mouseEvent) } // Determine if the mouse point has changed since the last mouse move event. This can happen if user switches to - // another window, moves the mouse, and then switches back to the World Wind window. + // another window, moves the mouse, and then switches back to the WorldWind window. boolean mousePointChanged = !mouseEvent.getPoint().equals(this.mousePoint); this.mousePoint = mouseEvent.getPoint(); diff --git a/src/gov/nasa/worldwind/awt/AbstractViewInputHandler.java b/src/gov/nasa/worldwind/awt/AbstractViewInputHandler.java index 2451207d79..0e6dd8842a 100644 --- a/src/gov/nasa/worldwind/awt/AbstractViewInputHandler.java +++ b/src/gov/nasa/worldwind/awt/AbstractViewInputHandler.java @@ -657,7 +657,7 @@ protected void handleFocusLost(FocusEvent e) public void apply() { - // Process per-frame input only when the World Window is the focus owner. + // Process per-frame input only when the WorldWindow is the focus owner. if (!this.isWorldWindowFocusOwner()) { return; diff --git a/src/gov/nasa/worldwind/awt/WorldWindowGLCanvas.java b/src/gov/nasa/worldwind/awt/WorldWindowGLCanvas.java index 8d3a77ffcc..9375a2521f 100644 --- a/src/gov/nasa/worldwind/awt/WorldWindowGLCanvas.java +++ b/src/gov/nasa/worldwind/awt/WorldWindowGLCanvas.java @@ -21,7 +21,7 @@ import java.util.*; /** - * WorldWindowGLCanvas is a heavyweight AWT component for displaying World Wind {@link Model}s (globe and + * WorldWindowGLCanvas is a heavyweight AWT component for displaying WorldWind {@link Model}s (globe and * layers). It's a self-contained component intended to serve as an application's WorldWindow. Construction * options exist to specify a specific graphics device and to share graphics resources with another graphics device. *

@@ -35,14 +35,14 @@ * This class is capable of supporting stereo devices. To cause a stereo device to be selected and used, specify the * Java VM property "gov.nasa.worldwind.stereo.mode=device" prior to creating an instance of this class. A stereo * capable {@link SceneController} such as {@link gov.nasa.worldwind.StereoSceneController} must also be specified in - * the World Wind {@link Configuration}. The default configuration specifies a stereo-capable controller. To prevent + * the WorldWind {@link Configuration}. The default configuration specifies a stereo-capable controller. To prevent * stereo from being used by subsequently opened {@code WorldWindowGLCanvas}es, set the property to a an empty string, - * "". If a stereo device cannot be selected and used, this falls back to a non-stereo device that supports World Wind's + * "". If a stereo device cannot be selected and used, this falls back to a non-stereo device that supports WorldWind's * minimum requirements. *

* Under certain conditions, JOGL replaces the GLContext associated with instances of this class. This then * necessitates that all resources such as textures that have been stored on the graphic devices must be regenerated for - * the new context. World Wind does this automatically by clearing the associated {@link GpuResourceCache}. Objects + * the new context. WorldWind does this automatically by clearing the associated {@link GpuResourceCache}. Objects * subsequently rendered automatically re-create those resources. If an application creates its own graphics resources, * including textures, vertex buffer objects and display lists, it must store them in the GpuResourceCache * associated with the current {@link gov.nasa.worldwind.render.DrawContext} so that they are automatically cleared, and diff --git a/src/gov/nasa/worldwind/awt/WorldWindowGLJPanel.java b/src/gov/nasa/worldwind/awt/WorldWindowGLJPanel.java index 6682737373..8d22ad6c92 100644 --- a/src/gov/nasa/worldwind/awt/WorldWindowGLJPanel.java +++ b/src/gov/nasa/worldwind/awt/WorldWindowGLJPanel.java @@ -20,7 +20,7 @@ import java.util.*; /** - * WorldWindowGLCanvas is a lightweight Swing component for displaying World Wind {@link Model}s (globe and + * WorldWindowGLCanvas is a lightweight Swing component for displaying WorldWind {@link Model}s (globe and * layers). It's a self-contained component intended to serve as an application's WorldWindow. Construction * options exist to specify a specific graphics device and to share graphics resources with another graphics device. *

@@ -34,14 +34,14 @@ * This class is capable of supporting stereo devices. To cause a stereo device to be selected and used, specify the * Java VM property "gov.nasa.worldwind.stereo.mode=device" prior to creating an instance of this class. A stereo * capable {@link SceneController} such as {@link gov.nasa.worldwind.StereoSceneController} must also be specified in - * the World Wind {@link Configuration}. The default configuration specifies a stereo-capable controller. To prevent + * the WorldWind {@link Configuration}. The default configuration specifies a stereo-capable controller. To prevent * stereo from being used by subsequently opened {@code WorldWindowGLCanvas}es, set the property to a an empty string, - * "". If a stereo device cannot be selected and used, this falls back to a non-stereo device that supports World Wind's + * "". If a stereo device cannot be selected and used, this falls back to a non-stereo device that supports WorldWind's * minimum requirements. *

* Under certain conditions, JOGL replaces the GLContext associated with instances of this class. This then * necessitates that all resources such as textures that have been stored on the graphic devices must be regenerated for - * the new context. World Wind does this automatically by clearing the associated {@link GpuResourceCache}. Objects + * the new context. WorldWind does this automatically by clearing the associated {@link GpuResourceCache}. Objects * subsequently rendered automatically re-create those resources. If an application creates its own graphics resources, * including textures, vertex buffer objects and display lists, it must store them in the GpuResourceCache * associated with the current {@link gov.nasa.worldwind.render.DrawContext} so that they are automatically cleared, and diff --git a/src/gov/nasa/worldwind/cache/AbstractFileStore.java b/src/gov/nasa/worldwind/cache/AbstractFileStore.java index ce585e62c9..4243b9fc2f 100644 --- a/src/gov/nasa/worldwind/cache/AbstractFileStore.java +++ b/src/gov/nasa/worldwind/cache/AbstractFileStore.java @@ -612,7 +612,7 @@ else if (file.getParentFile().mkdirs()) } /** - * @param url the "file:" URL of the file to remove from the file store. Only files in the writable World Wind disk + * @param url the "file:" URL of the file to remove from the file store. Only files in the writable WorldWind disk * cache or temp file directory are removed by this method. * * @throws IllegalArgumentException if url is null diff --git a/src/gov/nasa/worldwind/cache/BasicDataFileStore.java b/src/gov/nasa/worldwind/cache/BasicDataFileStore.java index 3211b5583b..0334c012ed 100644 --- a/src/gov/nasa/worldwind/cache/BasicDataFileStore.java +++ b/src/gov/nasa/worldwind/cache/BasicDataFileStore.java @@ -53,13 +53,13 @@ public class BasicDataFileStore extends AbstractFileStore * content type returned by the server. Subsequent calls to requestFile use the content types in this * list to find the content type matching the cached file. *

- * This is initialized to the following list of default content types typically used in World Wind applications: + * This is initialized to the following list of default content types typically used in WorldWind applications: *

*

  • application/vnd.google-earth.kml+xml
  • application/vnd.google-earth.kmz
  • *
  • model/collada+xml
  • image/dds
  • image/gif
  • image/jpeg
  • image/jpg
  • *
  • image/png
*

- * This list may be overridden by specifying a comma-delimited list of content types in the World Wind configuration + * This list may be overridden by specifying a comma-delimited list of content types in the WorldWind configuration * parameter gov.nasa.worldwind.avkey.CacheContentTypes. */ protected List cacheContentTypes = new ArrayList(DEFAULT_CACHE_CONTENT_TYPES); @@ -249,7 +249,7 @@ public synchronized URL requestFile(String address) throw new IllegalStateException(message); } - // Store remote files in the World Wind cache by default. This provides backward compatibility with applications + // Store remote files in the WorldWind cache by default. This provides backward compatibility with applications // depending on requestFile's behavior prior to the addition of the cacheRemoteFile parameter. return this.requestFile(address, true); } @@ -307,13 +307,13 @@ else if (url == null) /** * Returns a file from the cache, the local file system or the classpath if the file exists. The specified address * may be a jar URL. See {@link java.net.JarURLConnection} for a description of jar URLs. If - * searchLocalCache is true this looks for the file in the World Wind cache, otherwise + * searchLocalCache is true this looks for the file in the WorldWind cache, otherwise * this only looks for the file in the local file system and the classpath. * * @param address the name used to identify the cached file. * @param retrievalUrl the URL to obtain the file if it is not in the cache. Used only to determine a location * to search in the local cache. May be null. - * @param searchLocalCache true to look for the file in the World Wind cache, otherwise + * @param searchLocalCache true to look for the file in the WorldWind cache, otherwise * false. * * @return the requested file if it exists, otherwise null. @@ -361,7 +361,7 @@ protected synchronized URL getLocalFileUrl(String address, URL retrievalUrl, boo } } - // If the address is a file, look for the file in the classpath and World Wind disk cache. We perform this step + // If the address is a file, look for the file in the classpath and WorldWind disk cache. We perform this step // regardless of the searchLocalCache parameter, because this looks for the file in the classpath. // We need to ensure that the address is not a network address (HTTP, etc.) because the getResource call in // findFile will attempt to retrieve from that URL on the thread that called this method, which might be the EDT @@ -369,7 +369,7 @@ protected synchronized URL getLocalFileUrl(String address, URL retrievalUrl, boo if (cacheFileUrl == null && (addressProtocol == null || addressProtocol.equals("file"))) cacheFileUrl = WorldWind.getDataFileStore().findFile(address, true); - // Look for the file in the World Wind disk cache by creating a cache path from the file's address. We ignore this + // Look for the file in the WorldWind disk cache by creating a cache path from the file's address. We ignore this // step if searchLocalCache is false. if (cacheFileUrl == null && retrievalUrl != null && searchLocalCache) { diff --git a/src/gov/nasa/worldwind/cache/FileStore.java b/src/gov/nasa/worldwind/cache/FileStore.java index 98c5b3d8e8..030f471004 100644 --- a/src/gov/nasa/worldwind/cache/FileStore.java +++ b/src/gov/nasa/worldwind/cache/FileStore.java @@ -200,7 +200,7 @@ public interface FileStore extends WWObject * Requests a file. If the file exists locally, including as a resource on the classpath, this returns a * {@link URL} to the file. Otherwise if the specified address is a URL to a remote location, this * initiates a request for the file and returns null. When the request succeeds the file is stored in - * the local World Wind cache and subsequent invocations of this method return a URL to the retrieved file. + * the local WorldWind cache and subsequent invocations of this method return a URL to the retrieved file. * * @param address the file address: either a local file, a URL, or a path relative to the root of the file store. * @@ -215,20 +215,20 @@ public interface FileStore extends WWObject * Requests a file and specifies whether to store retrieved files in the cache or in a temporary location. If the * file exists locally, including as a resource on the classpath, this returns a {@link URL} to the * file. Otherwise if the specified address is a URL to a remote location, this initiates a request for the file and - * returns null. When the request succeeds the file is stored either in the local World Wind cache or + * returns null. When the request succeeds the file is stored either in the local WorldWind cache or * in a temporary location and subsequent invocations of this method return a URL to the retrieved file. *

- * The cacheRemoteFile parameter specifies whether to store a retrieved remote file in the World Wind + * The cacheRemoteFile parameter specifies whether to store a retrieved remote file in the WorldWind * cache or in a temporary location. This parameter has no effect if the file exists locally. The temporary location * for a retrieved file does not persist between runtime sessions, and subsequent invocations of this method may not * return the same temporary location. *

* If a remote file is requested multiple times with different values for cacheRemoteFile, it is - * undefined whether the retrieved file is stored in the World Wind cache or in a temporary location. + * undefined whether the retrieved file is stored in the WorldWind cache or in a temporary location. * * @param address the file address: either a local file, a URL, or a path relative to the root of the file * store. - * @param cacheRemoteFile true to store remote files in the World Wind cache, or false to + * @param cacheRemoteFile true to store remote files in the WorldWind cache, or false to * store remote files in a temporary location. Has no effect if the address is a local file. * * @return the file's URL if it exists locally or is a remote file that has been retrieved, otherwise diff --git a/src/gov/nasa/worldwind/data/BasicDataRasterReaderFactory.java b/src/gov/nasa/worldwind/data/BasicDataRasterReaderFactory.java index 3536f10a2a..13f7ca7e96 100644 --- a/src/gov/nasa/worldwind/data/BasicDataRasterReaderFactory.java +++ b/src/gov/nasa/worldwind/data/BasicDataRasterReaderFactory.java @@ -23,7 +23,7 @@ * *

* To specify a different factory, set the {@link gov.nasa.worldwind.avlist.AVKey#DATA_RASTER_READER_FACTORY_CLASS_NAME} - * value in {@link gov.nasa.worldwind.Configuration}, either directly or via the World Wind configuration file. To add + * value in {@link gov.nasa.worldwind.Configuration}, either directly or via the WorldWind configuration file. To add * readers to the default set, create a subclass of this class, override {@link #findReaderFor(Object, * gov.nasa.worldwind.avlist.AVList)}, and specify the new class to the configuration. * diff --git a/src/gov/nasa/worldwind/data/package.html b/src/gov/nasa/worldwind/data/package.html index 504c27a794..066ef78283 100644 --- a/src/gov/nasa/worldwind/data/package.html +++ b/src/gov/nasa/worldwind/data/package.html @@ -15,10 +15,10 @@

- This package provides classes for converting raw data sources into a form which can be used by standard World Wind + This package provides classes for converting raw data sources into a form which can be used by standard WorldWind components, such as {@link gov.nasa.worldwind.layers.Layer} and {@link gov.nasa.worldwind.globes.ElevationModel}. The gov.nasa.worldwind.data package contains two key interfaces: DataRaster, and DataStoreProducer. Older versions - of the gov.nasa.worldwind.data package included DataDescriptor, which has been removed from World Wind. This section + of the gov.nasa.worldwind.data package included DataDescriptor, which has been removed from WorldWind. This section describes the role of each interface. A guide to updating code which uses DataDescriptor can be found here. @@ -51,21 +51,21 @@

{@link gov.nasa.worldwind.data.DataStoreProducer} provides a common interface for converting raw data sources into a - form which can be used by standard World Wind components. There are three concrete implementations of + form which can be used by standard WorldWind components. There are three concrete implementations of DataStoreProducer:

    -
  • {@link gov.nasa.worldwind.data.TiledElevationProducer} - converts georeferenced image files into the World Wind +
  • {@link gov.nasa.worldwind.data.TiledElevationProducer} - converts georeferenced image files into the WorldWind tile cache structure, which can be rendered on the globe by a {@link gov.nasa.worldwind.layers.TiledImageLayer}.
  • {@link gov.nasa.worldwind.data.TiledImageProducer} - converts georeferenced elevation data files into the World Wind tile cache structure, which can become part of the globe's surface terrain by using a {@link gov.nasa.worldwind.terrain.BasicElevationModel}.
  • -
  • {@link gov.nasa.worldwind.data.WWDotNetLayerSetConverter} - converts data in the World Wind .NET tile cache - structure into the World Wind Java tile cache structure.
  • +
  • {@link gov.nasa.worldwind.data.WWDotNetLayerSetConverter} - converts data in the WorldWind .NET tile cache + structure into the WorldWind Java tile cache structure.

- Data Configuration Documents are a common mechanism and file format for describing a World Wind + Data Configuration Documents are a common mechanism and file format for describing a WorldWind component's configuration. While data configuration documents are not part of the gov.nasa.worldwind.data package, they are used as a configuration exchange mechanism by the classes in gov.nasa.worldwind.data. For example, DataStoreProducer returns a DOM Document describing the data it produces. Understanding how to use data @@ -74,7 +74,7 @@ configuration documents to manage the data produced by classes in this package.

- DataDescriptor defined an interface for representing meta information about World Wind cache data. + DataDescriptor defined an interface for representing meta information about WorldWind cache data. It has been replaced with data configuration documents, which provide a common mechanism to describe a component's configuration. For information how to update code which uses DataDescriptor, see the DataDescriptor Porting Guide. @@ -266,9 +266,9 @@

Supported Projections

-

Deploying World Wind's GDAL Libraries

+

Deploying WorldWind's GDAL Libraries

- The open-source GDAL and PROJ4 libraries are used to import many of World Wind's supported data formats. World Wind + The open-source GDAL and PROJ4 libraries are used to import many of WorldWind's supported data formats. WorldWind uses GDAL version 1.7.2 and PROJ4 version ?.? along with LizardTech's Decode SDK version 7.0.0.2167 for MrSID support. @@ -290,14 +290,14 @@

GDAL Library Locations

  • Windows 64bit library gdalalljni.dll is located in lib-external/gdal/win64/
  • Mac OSX library libgdalalljni.jnilib is in lib-external/gdal/macosx/
  • - The GDAL and PROJ4 libraries require data tables located in lib-external/gdal/data. World Wind attempts - to locate GDAL libraries during startup. By default World Wind will first look in the locations listed above, then + The GDAL and PROJ4 libraries require data tables located in lib-external/gdal/data. WorldWind attempts + to locate GDAL libraries during startup. By default WorldWind will first look in the locations listed above, then in the current path, and if no GDAL bundle was found, will try to locate the GDAL bundle in the sub-folders.

    Deploying with Java Web Start

    - Instructions for using the World Wind GDAL libraries with a Java Web Start application are available at + Instructions for using the WorldWind GDAL libraries with a Java Web Start application are available at https://goworldwind.org/getting-started/. @@ -309,17 +309,17 @@

    Common Use Case Examples

    The following examples demonstrate the most common use cases which the classes in gov.nasa.worldwind.data are designed to address. Additionally, several examples demonstrate data management use cases using data configuration documents. These examples constitute an overview of how to convert raw data sources into a form which can be - consumed by World Wind components, then manage the data in its converted form. + consumed by WorldWind components, then manage the data in its converted form.

    - Example 1: Converting Georeferenced Imagery to the World Wind Tile Structure + Example 1: Converting Georeferenced Imagery to the WorldWind Tile Structure

         
         // Given a source image, and a path to a folder in the local file system which receives the image tiles, configure a
    -    // TiledImageProducer to create a pyramid of images tiles in the World Wind Java cache format.
    +    // TiledImageProducer to create a pyramid of images tiles in the WorldWind Java cache format.
         String imagePath = ...;
         String tiledImagePath = ...;
         String tiledImageDisplayName = ...;
    @@ -330,7 +330,7 @@ 

    Common Use Case Examples

    params.setValue(AVKey.DATA_CACHE_NAME, WWIO.getFilename(tiledImagePath)); params.setValue(AVKey.DATASET_NAME, tiledImageDisplayName); - // Create a TiledImageProducer to transform the source image to a pyramid of images tiles in the World Wind + // Create a TiledImageProducer to transform the source image to a pyramid of images tiles in the WorldWind // Java cache format. DataStoreProducer producer = new TiledImageProducer(); try @@ -338,7 +338,7 @@

    Common Use Case Examples

    // Configure the TiledImageProducer with the parameter list and the image source. producer.setStoreParameters(params); producer.offerDataSource(new File(imagePath), null); - // Import the source image into the FileStore by converting it to the World Wind Java cache format. This throws + // Import the source image into the FileStore by converting it to the WorldWind Java cache format. This throws // an exception if production fails for any reason. producer.startProduction(); } @@ -366,21 +366,21 @@

    Common Use Case Examples

    - Example 2: Converting Georeferenced Elevation Data to the World Wind Tile Structure + Example 2: Converting Georeferenced Elevation Data to the WorldWind Tile Structure

    Converting georeferenced elevation data can be accomplished by referring to - Example 1: Converting Georeferenced Imagery to the World Wind Tile Structure, and replacing + Example 1: Converting Georeferenced Imagery to the WorldWind Tile Structure, and replacing {@link gov.nasa.worldwind.data.TiledImageProducer} with {@link gov.nasa.worldwind.data.TiledElevationProducer}.

    - Example 3: Converting World Wind .NET LayerSets to the World Wind Java Tile Structure + Example 3: Converting WorldWind .NET LayerSets to the WorldWind Java Tile Structure

    - Converting World Wind .NET LayerSets can be accomplished by referring to - Example 1: Converting Georeferenced Imagery to the World Wind Tile Structure, and replacing + Converting WorldWind .NET LayerSets can be accomplished by referring to + Example 1: Converting Georeferenced Imagery to the WorldWind Tile Structure, and replacing {@link gov.nasa.worldwind.data.TiledImageProducer} with {@link gov.nasa.worldwind.data.WWDotNetLayerSetConverter}.
    @@ -391,7 +391,7 @@

    Common Use Case Examples

         
         // Given a string path to a data configuration file in the local file system, read the file as a DOM document, which
    -    // can be consumed by World Wind's Layer and ElevationModel factories. This code is backward compatible with
    +    // can be consumed by WorldWind's Layer and ElevationModel factories. This code is backward compatible with
         // DataDescriptor files. The method DataConfigurationUtils.convertToStandardDataConfigDocument automatically detects
         // and transforms DataDescriptor documents into standard Layer and ElevationModel configuration documents.
         String dataConfigPath = ...;
    @@ -403,13 +403,13 @@ 

    Common Use Case Examples

    - Example 5: Reading Data Configuration Documents from the World Wind FileStore + Example 5: Reading Data Configuration Documents from the WorldWind FileStore

         
    -    // Given a path to a data configuration file in the World Wind FileStore, read the file as a DOM document, which can
    -    // be consumed by World Wind's Layer and ElevationModel factories. This code is backward compatible with
    +    // Given a path to a data configuration file in the WorldWind FileStore, read the file as a DOM document, which can
    +    // be consumed by WorldWind's Layer and ElevationModel factories. This code is backward compatible with
         // DataDescriptor files. The method DataConfigurationUtils.convertToStandardDataConfigDocument automatically detects
         // and transforms DataDescriptor documents into standard Layer or ElevationModel configuration documents.
         FileStore fileStore = ...;
    @@ -457,7 +457,7 @@ 

    Common Use Case Examples

    } else { - // Otherwise, you'll need to create your own document. World Wind currently provides support for creating data + // Otherwise, you'll need to create your own document. WorldWind currently provides support for creating data // configuration files for tiled imagery and tiled elevations. Write custom code to create a data configuration // document which corresponds with your data. Use LayerConfiguration and ElevationModelConfiguration as // references, and use the methods in WWXML to construct your document in memory. @@ -479,7 +479,7 @@

    Common Use Case Examples

    // representing the matches closest to the root: data configuration files who's ancestor directories contain another // data configuration file are ignored. The search path cannot be null. This code is backward compatible with // DataDescriptor files. The class DataConfigurationFilter accepts standard Layer and ElevationModel configuration - // files, DataDescriptor files, and World Wind .NET LayerSet files. + // files, DataDescriptor files, and WorldWind .NET LayerSet files. String searchPath = ...; String[] filePaths = WWIO.listDescendantFilenames(searchPath, new DataConfigurationFilter()); @@ -494,10 +494,10 @@

    Common Use Case Examples

    - Example 8: Searching for Data Configuration Documents in the World Wind FileStore + Example 8: Searching for Data Configuration Documents in the WorldWind FileStore

    - There are two methods of searching for data configuration files in the World Wind FileStore. The first method + There are two methods of searching for data configuration files in the WorldWind FileStore. The first method individually searches each FileStore location using the method {@link gov.nasa.worldwind.util.WWIO#listDescendantFilenames(java.io.File, java.io.FileFilter, boolean)}. This method is equivalent to calling the method FileStore.findDataDescriptors(String) (which has been removed), and @@ -505,11 +505,11 @@

    Common Use Case Examples

    the FileStore locations it searches for data configuration files.
         
    -    // Given a World Wind FileStore location in which to look for data configuration files, return a list of cache names
    +    // Given a WorldWind FileStore location in which to look for data configuration files, return a list of cache names
         // representing the matches closest to the root: data configuration files who's ancestor directories contain another
         // data configuration file are ignored. This code is backward compatible with DataDescriptor files. The class
         // DataConfigurationFilter accepts standard Layer and ElevationModel configuration files, DataDescriptor files, and
    -    // World Wind .NET LayerSet files.
    +    // WorldWind .NET LayerSet files.
         String fileStoreLocation = ...;
         String[] cacheNames = WWIO.listDescendantFilenames(fileStoreLocation, new DataConfigurationFilter(), false);
     
    @@ -520,17 +520,17 @@ 

    Common Use Case Examples

    }
    - The second method searches the entire World Wind FileStore under a relative file store path. Use this method when + The second method searches the entire WorldWind FileStore under a relative file store path. Use this method when your application doesn't care which FileStore location it searches for data configuration files, but may care what relative file store path it searches under.
         
    -    // Given a search path in the World Wind FileStore to look for data configuration files, return a list of cache
    +    // Given a search path in the WorldWind FileStore to look for data configuration files, return a list of cache
         // names representing the matches closest to the root: data configuration files who's ancestor directories contain
         // another data configuration file are ignored. If the search path is null, the method FileStore.listTopFileNames
         // searches the entire FileStore, excluding the class path. This code is backward compatible with DataDescriptor
         // files. The class DataConfigurationFilter accepts standard Layer and ElevationModel configuration files,
    -    // DataDescriptor files, and World Wind .NET LayerSet files.
    +    // DataDescriptor files, and WorldWind .NET LayerSet files.
         FileStore fileStore = ...;
         String fileStoreSearchPath = ...;
         String[] cacheNames = fileStore.listTopFileNames(fileStoreSearchPath, new DataConfigurationFilter());
    @@ -546,17 +546,17 @@ 

    Common Use Case Examples

    - Example 9: Creating World Wind Components from Data Configuration Documents + Example 9: Creating WorldWind Components from Data Configuration Documents

         
    -    // Given a data configuration document which describes tiled imagery or tiled elevations in the World Wind
    -    // FileStore, create a World Wind Layer or ElevationModel according to the contents of the data configuration
    +    // Given a data configuration document which describes tiled imagery or tiled elevations in the WorldWind
    +    // FileStore, create a WorldWind Layer or ElevationModel according to the contents of the data configuration
         // document. This code is backward compatible with DataDescriptor files if the data configuration file was opened as
         // shown in Example 5 or Example 8.
         Document dataConfigDoc = ...;
         AVList params = ...;
    -    String filename = ...; // The data configuration's filename, relative to a World Wind file store.
    +    String filename = ...; // The data configuration's filename, relative to a WorldWind file store.
     
         // If the data configuration doesn't define a cache name, then compute one using the file's path relative to its
         // file store directory.
    @@ -583,7 +583,7 @@ 

    Common Use Case Examples

    } else { - // Currently, World Wind supports factory construction of Layers and ElevationModels from data configuration + // Currently, WorldWind supports factory construction of Layers and ElevationModels from data configuration // documents. If your data configuration document describes another type of component, you'll need to write your // own construction routine. Use BasicLayerFactory and BasicElevationModelFactory as references. return; @@ -606,10 +606,10 @@

    DataDescriptor Porting Guide Older versions of the gov.nasa.worldwind.data package included the DataDescriptor interface, along with its associated DataDescriptorReader and DataDescriptorWriter. DataDescriptor defined an interface and an XML file format - for representing meta information about World Wind cache data. The XML files were called "data descriptor" files, + for representing meta information about WorldWind cache data. The XML files were called "data descriptor" files, and were typically named "dataDescriptor.xml". Applications used these files to discover processed data in the World Wind file store, create an in-memory DataDescriptor from the file, then create either a Layer or an ElevationModel - from the DataDescriptor. World Wind needed a common mechanism to describe a component's configuration, but + from the DataDescriptor. WorldWind needed a common mechanism to describe a component's configuration, but DataDescriptor had two problems which prevented its use as a common mechanism: (1) it presented all information as a flat list of key-value pairs, making it difficult to represent heirarchical information, and (2) it decoded complex properties (for example lists, angles, colors) at read time based on the property name, making it impossible to @@ -622,7 +622,7 @@

    DataDescriptor Porting GuideBackward Compatibility with Data Configuration Documents
    Data configuration documents have supporting utilities which are designed to read and transform DataDescriptor files - written by older versions of World Wind. Applications which port usage of DataDescriptor to data configuration + written by older versions of WorldWind. Applications which port usage of DataDescriptor to data configuration documents can maintain backwards compatibility with the DataDescriptor files written by older versions of World Wind. However, there is no mechanism for forward compatibililty with data configuration documents. Applications which still use DataDescriptor files will not be able to recognize or read data configuration files. @@ -632,8 +632,8 @@

    DataDescriptor Porting GuideExample 4 and Example 5 demonstrate how to read both data configuration files and DataDescriptor files. Example 7 and Example 8 demonstrate how to search for - data configuration files and DataDescriptor files in the file system or the World Wind FileStore. - Example 9 demonstrates how to create a World Wind Layer or ElevationModel from a + data configuration files and DataDescriptor files in the file system or the WorldWind FileStore. + Example 9 demonstrates how to create a WorldWind Layer or ElevationModel from a data configuration file, in a way which is backward compatible with DataDescriptor files.

    The data configuration files created in Example 1, Example 2, and @@ -645,8 +645,8 @@

    DataDescriptor Porting GuideUpdating Usage of DataDescriptor
    Data configuration documents are designed to replace DataDescriptor as a mechanism for communicating configuration - metadata about World Wind components. World Wind provides utilities to read and write data configuration files, - search for data configuration files in the local file system or World Wind file store, and create World Wind + metadata about WorldWind components. WorldWind provides utilities to read and write data configuration files, + search for data configuration files in the local file system or WorldWind file store, and create WorldWind components from a data configuration document. The following section outlines how to replace usage of DataDescriptor with data configuration files.

    -
  • Searching for DataDescriptor Files in the World Wind FileStore +
  • Searching for DataDescriptor Files in the WorldWind FileStore
    The following code snippet is an example of how FileStore.findDataDescriptors was used to search for - DataDescriptor files in the World Wind FileStore. Example 8 shows how to replace this + DataDescriptor files in the WorldWind FileStore. Example 8 shows how to replace this with usage of data configuration documents.
             
    -        // Given a World Wind FileStore location in which to look for DataDescriptor files, return a list of cache names
    +        // Given a WorldWind FileStore location in which to look for DataDescriptor files, return a list of cache names
             // representing the matches closest to the root: DataDescriptor files who's ancestor directories contain another
             // DataDescriptor file are ignored. The search location must not be null.
             String fileStoreLocation = ...;
    @@ -750,16 +750,16 @@ 

    DataDescriptor Porting Guide

  • -
  • Creating World Wind Components from DataDescriptor +
  • Creating WorldWind Components from DataDescriptor
    The following code snippet is an example of how the AVList parameters attached to DataDescriptor were used to - construct World Wind Layers and ElevationModels. Example 9 shows how to replace this + construct WorldWind Layers and ElevationModels. Example 9 shows how to replace this with usage of data configuration documents.
             
    -        // Given a reference to a DataDescriptor which describes tiled imagery or elevations in the World Wind
    -        // FileStore, create a World Wind Layer or ElevationModel according to the contents of the DataDescriptor.
    +        // Given a reference to a DataDescriptor which describes tiled imagery or elevations in the WorldWind
    +        // FileStore, create a WorldWind Layer or ElevationModel according to the contents of the DataDescriptor.
             DataDescriptor dataDescriptor = ...;
     
             if (dataDescriptor.getType().equals(AVKey.TILED_IMAGERY))
    diff --git a/src/gov/nasa/worldwind/event/SelectEvent.java b/src/gov/nasa/worldwind/event/SelectEvent.java
    index 27e2a1c7b6..099ab0ad33 100644
    --- a/src/gov/nasa/worldwind/event/SelectEvent.java
    +++ b/src/gov/nasa/worldwind/event/SelectEvent.java
    @@ -19,13 +19,13 @@
      * Select event listeners are registered by calling {@link gov.nasa.worldwind.WorldWindow#addSelectListener(SelectListener)}.
      * 

    * A ROLLOVER SelectEvent is generated every frame when the cursor is over a visible object either because - * the user moved it there or because the World Window was repainted and a visible object was found to be under the + * the user moved it there or because the WorldWindow was repainted and a visible object was found to be under the * cursor. A ROLLOVER SelectEvent is also generated when there are no longer any objects under the cursor. * Select events generated for objects under the cursor have a non-null pickPoint, and contain the top-most visible * object of all objects at the cursor position. *

    * A BOX_ROLLOVER SelectEvent is generated every frame when the selection box intersects a visible object - * either because the user moved or expanded it or because the World Window was repainted and a visible object was found + * either because the user moved or expanded it or because the WorldWindow was repainted and a visible object was found * to intersect the box. A BOX_ROLLOVER SelectEvent is also generated when there are no longer any objects * intersecting the selection box. Select events generated for objects intersecting the selection box have a non-null * pickRectangle, and contain all top-most visible objects of all objects intersecting the selection box. diff --git a/src/gov/nasa/worldwind/event/WWEvent.java b/src/gov/nasa/worldwind/event/WWEvent.java index c83755f98c..3838d374f2 100644 --- a/src/gov/nasa/worldwind/event/WWEvent.java +++ b/src/gov/nasa/worldwind/event/WWEvent.java @@ -8,7 +8,7 @@ import java.util.EventObject; /** - * WWEvent is the base class which all World Wind event objects derive from. It extends Java's base {@link + * WWEvent is the base class which all WorldWind event objects derive from. It extends Java's base {@link * java.util.EventObject} by adding the capability to consume the event by calling {@link #consume()}. Consuming a * WWEvent prevents is from being processed in the default manner by the source that originated the event. If the event * cannot be consumed, calling {@code consume()} has no effect, though {@link #isConsumed()} returns whether or not diff --git a/src/gov/nasa/worldwind/exception/WWTimeoutException.java b/src/gov/nasa/worldwind/exception/WWTimeoutException.java index 81eae3a0e7..3040fea1a7 100644 --- a/src/gov/nasa/worldwind/exception/WWTimeoutException.java +++ b/src/gov/nasa/worldwind/exception/WWTimeoutException.java @@ -7,7 +7,7 @@ package gov.nasa.worldwind.exception; /** - * Thrown when a World Wind operation times out. + * Thrown when a WorldWind operation times out. * * @author tag * @version $Id: WWTimeoutException.java 1171 2013-02-11 21:45:02Z dcollins $ diff --git a/src/gov/nasa/worldwind/formats/gpx/GpxWriter.java b/src/gov/nasa/worldwind/formats/gpx/GpxWriter.java index c7fc5c2bb9..3cc79fe83e 100644 --- a/src/gov/nasa/worldwind/formats/gpx/GpxWriter.java +++ b/src/gov/nasa/worldwind/formats/gpx/GpxWriter.java @@ -81,7 +81,7 @@ private void createGpxDocument(org.w3c.dom.Document doc) org.w3c.dom.Element gpx = doc.createElement("gpx"); gpx.setAttribute("version", "1.1"); - gpx.setAttribute("creator", "NASA World Wind"); + gpx.setAttribute("creator", "NASA WorldWind"); doc.appendChild(gpx); } } diff --git a/src/gov/nasa/worldwind/formats/shapefile/ShapefileLayerFactory.java b/src/gov/nasa/worldwind/formats/shapefile/ShapefileLayerFactory.java index 88129c105b..a0d52db19c 100644 --- a/src/gov/nasa/worldwind/formats/shapefile/ShapefileLayerFactory.java +++ b/src/gov/nasa/worldwind/formats/shapefile/ShapefileLayerFactory.java @@ -25,9 +25,9 @@ *

    *

    Shapefile Geometry Conversion

    *

    - * Shapefile geometries are mapped to World Wind objects as follows: + * Shapefile geometries are mapped to WorldWind objects as follows: *

    - *
    Shapefile GeometryWorld Wind Object
    Point{@link + *
    Shapefile GeometryWorldWind Object
    Point{@link * gov.nasa.worldwind.render.PointPlacemark}
    MultiPointList of {@link * gov.nasa.worldwind.render.PointPlacemark}
    Polyline{@link * gov.nasa.worldwind.formats.shapefile.ShapefilePolylines}
    Polygon{@link diff --git a/src/gov/nasa/worldwind/formats/tiff/GeotiffWriter.java b/src/gov/nasa/worldwind/formats/tiff/GeotiffWriter.java index 9a59a32403..5c5d469ea9 100644 --- a/src/gov/nasa/worldwind/formats/tiff/GeotiffWriter.java +++ b/src/gov/nasa/worldwind/formats/tiff/GeotiffWriter.java @@ -157,7 +157,7 @@ AVKey.PIXEL_FORMAT required (valid values: AVKey.ELEVATION | AVKey.IMAGE } AVKey.DATA_TYPE required for elevations only; valid values: AVKey.INT16, and AVKey.FLOAT32 - AVKey.VERSION optional, if missing a default will be used "NASA World Wind" + AVKey.VERSION optional, if missing a default will be used "NASA WorldWind" AVKey.DISPLAY_NAME, (String) optional, specifies a name of the document/image diff --git a/src/gov/nasa/worldwind/formats/vpf/GeoSymAttributeConverter.java b/src/gov/nasa/worldwind/formats/vpf/GeoSymAttributeConverter.java index 39b7089c34..bd81c298e9 100644 --- a/src/gov/nasa/worldwind/formats/vpf/GeoSymAttributeConverter.java +++ b/src/gov/nasa/worldwind/formats/vpf/GeoSymAttributeConverter.java @@ -15,12 +15,12 @@ /** * The GeoSymAttributeConverter application converts GeoSym line attributes, area attributes, and area patterns into a - * form usable by World Wind VPF shapes. Outputs to "gsac-out" a comma-separated-value (CSV) file containing line and + * form usable by WorldWind VPF shapes. Outputs to "gsac-out" a comma-separated-value (CSV) file containing line and * area attributes for VPF line and area shapes, and PNG images containing area patterns for VPF area shapes. *

    * GeoSymAttributeConverter is used to build the VPF symbol JAR file vpf-symbols.jar. For instructions on * how to build vpf-symbols.jar, see the file VPF_README.txt, which is distributed in each - * World Wind release. + * WorldWind release. *

    * Usage: java -cp worldwind.jar gov.nasa.worldwind.formats.vpf.GeoSymAttributeConverter [full path to * "GeoSymEd2Final/GRAPHICS/CTEXT"] @@ -425,7 +425,7 @@ protected static void printUsage() System.out.println("GeoSymAttributeConverter"); System.out.println(); System.out.println("Converts GeoSym line attributes, area attributes, and area patterns into a form usable by"); - System.out.println("World Wind VPF shapes. Outputs to \"" + OUT_DIR + "\" a comma-separated-value file"); + System.out.println("WorldWind VPF shapes. Outputs to \"" + OUT_DIR + "\" a comma-separated-value file"); System.out.println("containing line and area attributes for VPF line and area shapes, and PNG files"); System.out.println("containing area patterns for VPF area shapes."); System.out.println(); diff --git a/src/gov/nasa/worldwind/layers/BasicLayerFactory.java b/src/gov/nasa/worldwind/layers/BasicLayerFactory.java index e31e4db05b..1eda76fee9 100644 --- a/src/gov/nasa/worldwind/layers/BasicLayerFactory.java +++ b/src/gov/nasa/worldwind/layers/BasicLayerFactory.java @@ -38,7 +38,7 @@ public BasicLayerFactory() * For tiled image layers, this maps the serviceName attribute of the Layer/Service * element of the XML configuration file to the appropriate base tiled image layer type. Service types recognized * are:

    • "WMS" for layers that draw their data from a WMS web service.
    • "WWTileService" for layers - * that draw their data from a World Wind tile service.
    • "Offline" for layers that draw their data only from + * that draw their data from a WorldWind tile service.
    • "Offline" for layers that draw their data only from * the local cache.
    * * @param configSource the configuration source. See above for supported types. diff --git a/src/gov/nasa/worldwind/layers/BasicTiledImageLayer.java b/src/gov/nasa/worldwind/layers/BasicTiledImageLayer.java index ff31d084a1..ad60dcb323 100644 --- a/src/gov/nasa/worldwind/layers/BasicTiledImageLayer.java +++ b/src/gov/nasa/worldwind/layers/BasicTiledImageLayer.java @@ -400,7 +400,7 @@ protected void addTileToCache(TextureTile tile) /** * Start a new {@link BulkRetrievalThread} that downloads all imagery for a given sector and resolution to the - * current World Wind file cache, without downloading imagery that is already in the cache. + * current WorldWind file cache, without downloading imagery that is already in the cache. *

    * This method creates and starts a thread to perform the download. A reference to the thread is returned. To create * a downloader that has not been started, construct a {@link BasicTiledImageLayerBulkDownloader}. @@ -435,7 +435,7 @@ public BulkRetrievalThread makeLocal(Sector sector, double resolution, BulkRetri * * @param sector the sector to download data for. * @param resolution the target resolution, provided in radians of latitude per texel. - * @param fileStore the file store in which to place the downloaded imagery. If null the current World Wind file + * @param fileStore the file store in which to place the downloaded imagery. If null the current WorldWind file * cache is used. * @param listener an optional retrieval listener. May be null. * @@ -460,7 +460,7 @@ public BulkRetrievalThread makeLocal(Sector sector, double resolution, FileStore } /** - * Get the estimated size in bytes of the imagery not in the World Wind file cache for the given sector and + * Get the estimated size in bytes of the imagery not in the WorldWind file cache for the given sector and * resolution. *

    * Note that the target resolution must be provided in radians of latitude per texel, which is the resolution in @@ -487,7 +487,7 @@ public long getEstimatedMissingDataSize(Sector sector, double resolution) * * @param sector the sector to estimate. * @param resolution the target resolution, provided in radians of latitude per texel. - * @param fileStore the file store to examine. If null the current World Wind file cache is used. + * @param fileStore the file store to examine. If null the current WorldWind file cache is used. * * @return the estimated size in byte of the missing imagery. * @@ -716,7 +716,7 @@ protected String retrieveResources() // // Note that we use the URL's String representation as the cache key. We cannot use the URL itself, because // the cache invokes the methods Object.hashCode() and Object.equals() on the cache key. URL's implementations - // of hashCode() and equals() perform blocking IO calls. World Wind does not perform blocking calls during + // of hashCode() and equals() perform blocking IO calls. WorldWind does not perform blocking calls during // rendering, and this method is likely to be called from the rendering thread. WMSCapabilities caps; if (this.isNetworkRetrievalEnabled()) diff --git a/src/gov/nasa/worldwind/layers/BasicTiledImageLayerBulkDownloader.java b/src/gov/nasa/worldwind/layers/BasicTiledImageLayerBulkDownloader.java index 62326e15b2..c5c30c05cf 100644 --- a/src/gov/nasa/worldwind/layers/BasicTiledImageLayerBulkDownloader.java +++ b/src/gov/nasa/worldwind/layers/BasicTiledImageLayerBulkDownloader.java @@ -20,7 +20,7 @@ import java.util.*; /** - * Downloads imagery not currently available in the World Wind file cache or a specified file store. The class derives + * Downloads imagery not currently available in the WorldWind file cache or a specified file store. The class derives * from {@link Thread} and is meant to operate in its own thread. *

    * The sector and resolution associated with the downloader are specified during construction and are final. @@ -38,7 +38,7 @@ public class BasicTiledImageLayerBulkDownloader extends BulkRetrievalThread protected ArrayList missingTiles; /** - * Constructs a downloader to retrieve imagery not currently available in the World Wind file cache. + * Constructs a downloader to retrieve imagery not currently available in the WorldWind file cache. *

    * The thread returned is not started during construction, the caller must start the thread. * diff --git a/src/gov/nasa/worldwind/layers/CompassLayer.java b/src/gov/nasa/worldwind/layers/CompassLayer.java index e39b9ae31d..bfe26e1c37 100644 --- a/src/gov/nasa/worldwind/layers/CompassLayer.java +++ b/src/gov/nasa/worldwind/layers/CompassLayer.java @@ -161,7 +161,7 @@ public String getResizeBehavior() /** * Sets the behavior the layer uses to size the compass icon when the viewport size changes, typically when the - * World Wind window is resized. If the value is AVKey.RESIZE_KEEP_FIXED_SIZE, the icon size is kept to the size + * WorldWind window is resized. If the value is AVKey.RESIZE_KEEP_FIXED_SIZE, the icon size is kept to the size * specified in its image file scaled by the layer's current icon scale. If the value is AVKey.RESIZE_STRETCH, the * icon is resized to have a constant size relative to the current viewport size. If the viewport shrinks the icon * size decreases; if it expands then the icon file enlarges. The relative size is determined by the current diff --git a/src/gov/nasa/worldwind/layers/CrosshairLayer.java b/src/gov/nasa/worldwind/layers/CrosshairLayer.java index 5e49af090c..79c052e710 100644 --- a/src/gov/nasa/worldwind/layers/CrosshairLayer.java +++ b/src/gov/nasa/worldwind/layers/CrosshairLayer.java @@ -150,7 +150,7 @@ public String getResizeBehavior() /** * Sets the behavior the layer uses to size the crosshair icon when the viewport size changes, typically when the - * World Wind window is resized. If the value is AVKey.RESIZE_KEEP_FIXED_SIZE, the icon size is kept to the size + * WorldWind window is resized. If the value is AVKey.RESIZE_KEEP_FIXED_SIZE, the icon size is kept to the size * specified in its image file scaled by the layer's current icon scale. If the value is AVKey.RESIZE_STRETCH, the * icon is resized to have a constant size relative to the current viewport size. If the viewport shrinks the icon * size decreases; if it expands then the icon file enlarges. The relative size is determined by the current diff --git a/src/gov/nasa/worldwind/layers/TiledImageLayer.java b/src/gov/nasa/worldwind/layers/TiledImageLayer.java index ccdfb549eb..bdbcc423fb 100644 --- a/src/gov/nasa/worldwind/layers/TiledImageLayer.java +++ b/src/gov/nasa/worldwind/layers/TiledImageLayer.java @@ -291,7 +291,7 @@ protected void createTopLevelTiles() Angle latOrigin = this.levels.getTileOrigin().getLatitude(); Angle lonOrigin = this.levels.getTileOrigin().getLongitude(); - // Determine the row and column offset from the common World Wind global tiling origin. + // Determine the row and column offset from the common WorldWind global tiling origin. int firstRow = Tile.computeRow(dLat, sector.getMinLatitude(), latOrigin); int firstCol = Tile.computeColumn(dLon, sector.getMinLongitude(), lonOrigin); int lastRow = Tile.computeRow(dLat, sector.getMaxLatitude(), latOrigin); @@ -670,7 +670,7 @@ protected void checkTextureExpiration(DrawContext dc, List tiles) protected void setBlendingFunction(DrawContext dc) { // Set up a premultiplied-alpha blending function. Any texture read by JOGL will have alpha-premultiplied color - // components, as will any DDS file created by World Wind or the World Wind WMS. We'll also set up the base + // components, as will any DDS file created by WorldWind or the WorldWind WMS. We'll also set up the base // color as a premultiplied color, so that any incoming premultiplied color will be properly combined with the // base color. diff --git a/src/gov/nasa/worldwind/layers/WorldMapLayer.java b/src/gov/nasa/worldwind/layers/WorldMapLayer.java index d9c1ba0f72..22a1640b30 100644 --- a/src/gov/nasa/worldwind/layers/WorldMapLayer.java +++ b/src/gov/nasa/worldwind/layers/WorldMapLayer.java @@ -178,7 +178,7 @@ public String getResizeBehavior() /** * Sets the behavior the layer uses to size the world map icon when the viewport size changes, typically when the - * World Wind window is resized. If the value is AVKey.RESIZE_KEEP_FIXED_SIZE, the icon size is kept to the size + * WorldWind window is resized. If the value is AVKey.RESIZE_KEEP_FIXED_SIZE, the icon size is kept to the size * specified in its image file scaled by the layer's current icon scale. If the value is AVKey.RESIZE_STRETCH, the * icon is resized to have a constant size relative to the current viewport size. If the viewport shrinks the icon * size decreases; if it expands then the icon file enlarges. The relative size is determined by the current world diff --git a/src/gov/nasa/worldwind/layers/mercator/MercatorTiledImageLayer.java b/src/gov/nasa/worldwind/layers/mercator/MercatorTiledImageLayer.java index f32d2dab70..fadcf1294d 100644 --- a/src/gov/nasa/worldwind/layers/mercator/MercatorTiledImageLayer.java +++ b/src/gov/nasa/worldwind/layers/mercator/MercatorTiledImageLayer.java @@ -201,7 +201,7 @@ private void createTopLevelTiles() Angle latOrigin = this.levels.getTileOrigin().getLatitude(); Angle lonOrigin = this.levels.getTileOrigin().getLongitude(); - // Determine the row and column offset from the common World Wind global tiling origin. + // Determine the row and column offset from the common WorldWind global tiling origin. int firstRow = Tile.computeRow(dLat, sector.getMinLatitude(), latOrigin); int firstCol = Tile.computeColumn(dLon, sector.getMinLongitude(), lonOrigin); int lastRow = Tile.computeRow(dLat, sector.getMaxLatitude(), latOrigin); diff --git a/src/gov/nasa/worldwind/layers/placename/PlaceNameLayer.java b/src/gov/nasa/worldwind/layers/placename/PlaceNameLayer.java index b42319d090..f703e5a8f5 100644 --- a/src/gov/nasa/worldwind/layers/placename/PlaceNameLayer.java +++ b/src/gov/nasa/worldwind/layers/placename/PlaceNameLayer.java @@ -1229,7 +1229,7 @@ protected ByteBuffer handleXMLContent() throws IOException /** * Start a new {@link BulkRetrievalThread} that downloads all placenames for a given sector and resolution to the - * current World Wind file cache. + * current WorldWind file cache. *

    * This method creates and starts a thread to perform the download. A reference to the thread is returned. To create * a downloader that has not been started, construct a {@link PlaceNameLayerBulkDownloader}. @@ -1267,7 +1267,7 @@ public BulkRetrievalThread makeLocal(Sector sector, double resolution, BulkRetri * * @param sector the sector to download data for. * @param resolution the target resolution, provided in radians of latitude per texel. - * @param fileStore the file store in which to place the downloaded elevations. If null the current World Wind file + * @param fileStore the file store in which to place the downloaded elevations. If null the current WorldWind file * cache is used. * @param listener an optional retrieval listener. May be null. * @@ -1287,7 +1287,7 @@ public BulkRetrievalThread makeLocal(Sector sector, double resolution, FileStore } /** - * Get the estimated size in bytes of the placenames not in the World Wind file cache for the given sector and + * Get the estimated size in bytes of the placenames not in the WorldWind file cache for the given sector and * resolution. *

    * Note that the target resolution must be provided in radians of latitude per texel, which is the resolution in @@ -1314,7 +1314,7 @@ public long getEstimatedMissingDataSize(Sector sector, double resolution) * * @param sector the sector to estimate. * @param resolution the target resolution, provided in radians of latitude per texel. - * @param fileStore the file store to examine. If null the current World Wind file cache is used. + * @param fileStore the file store to examine. If null the current WorldWind file cache is used. * * @return the estimated size in byte of the missing placenames. * diff --git a/src/gov/nasa/worldwind/layers/placename/PlaceNameLayerBulkDownloader.java b/src/gov/nasa/worldwind/layers/placename/PlaceNameLayerBulkDownloader.java index caf6c6987e..91dd5b5150 100644 --- a/src/gov/nasa/worldwind/layers/placename/PlaceNameLayerBulkDownloader.java +++ b/src/gov/nasa/worldwind/layers/placename/PlaceNameLayerBulkDownloader.java @@ -18,7 +18,7 @@ import java.util.*; /** - * Downloads placenames not currently available in the World Wind file cache or a specified {@link FileStore}. The class + * Downloads placenames not currently available in the WorldWind file cache or a specified {@link FileStore}. The class * derives from {@link Thread} and is meant to operate in its own thread. *

    * The sector and resolution associated with the downloader are specified during construction and are final. @@ -36,7 +36,7 @@ public class PlaceNameLayerBulkDownloader extends BulkRetrievalThread protected long pollDelay = RETRIEVAL_SERVICE_POLL_DELAY; /** - * Constructs a downloader to retrieve placenames not currently available in the World Wind file cache. + * Constructs a downloader to retrieve placenames not currently available in the WorldWind file cache. *

    * The thread returned is not started during construction, the caller must start the thread. * diff --git a/src/gov/nasa/worldwind/layers/rpf/RPFTiledImageLayer.java b/src/gov/nasa/worldwind/layers/rpf/RPFTiledImageLayer.java index bac18fe7e5..93f8aba545 100644 --- a/src/gov/nasa/worldwind/layers/rpf/RPFTiledImageLayer.java +++ b/src/gov/nasa/worldwind/layers/rpf/RPFTiledImageLayer.java @@ -52,7 +52,7 @@ static Collection createTopLevelTiles(AVList params) Angle latOrigin = levels.getTileOrigin().getLatitude(); Angle lonOrigin = levels.getTileOrigin().getLongitude(); - // Determine the row and column offset from the common World Wind global tiling origin. + // Determine the row and column offset from the common WorldWind global tiling origin. int firstRow = Tile.computeRow(dLat, sector.getMinLatitude(), latOrigin); int firstCol = Tile.computeColumn(dLon, sector.getMinLongitude(), lonOrigin); int lastRow = Tile.computeRow(dLat, sector.getMaxLatitude(), latOrigin); diff --git a/src/gov/nasa/worldwind/ogc/collada/ColladaParserContext.java b/src/gov/nasa/worldwind/ogc/collada/ColladaParserContext.java index 23035b77af..41529b255b 100644 --- a/src/gov/nasa/worldwind/ogc/collada/ColladaParserContext.java +++ b/src/gov/nasa/worldwind/ogc/collada/ColladaParserContext.java @@ -165,7 +165,7 @@ protected void initializeParsers(String ns) this.parsers.put(new QName(ns, "lines"), new ColladaLines(ns)); this.parsers.put(new QName(ns, "extra"), new ColladaExtra(ns)); - // The following elements are valid COLLADA markup, but are not used by World Wind. + // The following elements are valid COLLADA markup, but are not used by WorldWind. parser = new ColladaUnsupported(ns); this.parsers.put(new QName(ns, "library_cameras"), parser); this.parsers.put(new QName(ns, "instance_camera"), parser); diff --git a/src/gov/nasa/worldwind/ogc/collada/ColladaUnsupported.java b/src/gov/nasa/worldwind/ogc/collada/ColladaUnsupported.java index f0f28b08f4..03f1cc9fda 100644 --- a/src/gov/nasa/worldwind/ogc/collada/ColladaUnsupported.java +++ b/src/gov/nasa/worldwind/ogc/collada/ColladaUnsupported.java @@ -7,7 +7,7 @@ package gov.nasa.worldwind.ogc.collada; /** - * Parser class for COLLADA elements that are not used by World Wind. + * Parser class for COLLADA elements that are not used by WorldWind. * * @author pabercrombie * @version $Id: ColladaUnsupported.java 642 2012-06-14 17:31:29Z pabercrombie $ diff --git a/src/gov/nasa/worldwind/ogc/collada/impl/ColladaController.java b/src/gov/nasa/worldwind/ogc/collada/impl/ColladaController.java index a41ebe16e9..d1d1929b2c 100644 --- a/src/gov/nasa/worldwind/ogc/collada/impl/ColladaController.java +++ b/src/gov/nasa/worldwind/ogc/collada/impl/ColladaController.java @@ -11,8 +11,8 @@ import gov.nasa.worldwind.util.Logging; /** - * Executes the mapping from COLLADA to World Wind. Traverses a parsed COLLADA document and creates the appropriate - * World Wind object to represent the COLLADA model. + * Executes the mapping from COLLADA to WorldWind. Traverses a parsed COLLADA document and creates the appropriate + * WorldWind object to represent the COLLADA model. * * @author pabercrombie * @version $Id: ColladaController.java 661 2012-06-26 18:02:23Z pabercrombie $ diff --git a/src/gov/nasa/worldwind/ogc/collada/impl/package.html b/src/gov/nasa/worldwind/ogc/collada/impl/package.html index 94905389b5..d62a5880f7 100644 --- a/src/gov/nasa/worldwind/ogc/collada/impl/package.html +++ b/src/gov/nasa/worldwind/ogc/collada/impl/package.html @@ -12,6 +12,6 @@

    Provides classes for rendering COLLADA documents. The {@link gov.nasa.worldwind.ogc.collada.impl.ColladaController} - can be used to render a parsed COLLADA document in World Wind.

    + can be used to render a parsed COLLADA document in WorldWind.

    \ No newline at end of file diff --git a/src/gov/nasa/worldwind/ogc/kml/KMLLink.java b/src/gov/nasa/worldwind/ogc/kml/KMLLink.java index a0b1056df1..c1d8704dd6 100644 --- a/src/gov/nasa/worldwind/ogc/kml/KMLLink.java +++ b/src/gov/nasa/worldwind/ogc/kml/KMLLink.java @@ -286,8 +286,8 @@ public Object parse(XMLEventParserContext ctx, XMLEvent inputEvent, Object... ar * [cameraAlt] - view's eye position.
  • [horizFov], [vertFov] - view's horizontal and * vertical field of view.
  • [horizPixels], [vertPixels] - width and height of the * viewport.
  • [terrainEnabled] - always true
  • [clientVersion] - * - World Wind client version.
  • [clientName] - World Wind client name.
  • - *
  • [kmlVersion] - KML version supported by World Wind.
  • [language] - current + * - WorldWind client version.
  • [clientName] - WorldWind client name.
  • + *
  • [kmlVersion] - KML version supported by WorldWind.
  • [language] - current * locale's language.
  • If the viewFormat is unspecified, and the viewRefreshMode * is one of onRequest, onStop or onRegion, this automatically appends the * following information to the query string: BBOX=[bboxWest],[bboxSouth],[bboxEast],[bboxNorth]. The diff --git a/src/gov/nasa/worldwind/ogc/kml/KMLNetworkLink.java b/src/gov/nasa/worldwind/ogc/kml/KMLNetworkLink.java index 0a6ff859d3..2768f008ca 100644 --- a/src/gov/nasa/worldwind/ogc/kml/KMLNetworkLink.java +++ b/src/gov/nasa/worldwind/ogc/kml/KMLNetworkLink.java @@ -443,7 +443,7 @@ protected long computeExpiryRefreshTime(KMLRoot root, String address) /** * Indicates whether the network resource references by this KMLNetworkLink should be retrieved to the - * World Wind cache or to a temporary location. This returns true if all of the following conditions + * WorldWind cache or to a temporary location. This returns true if all of the following conditions * are met, and false otherwise: *

    *

    • This network link has either a Link or a Url element.
    • The Link or Url diff --git a/src/gov/nasa/worldwind/ogc/kml/KMLRoot.java b/src/gov/nasa/worldwind/ogc/kml/KMLRoot.java index f6301165a4..bf2a296331 100644 --- a/src/gov/nasa/worldwind/ogc/kml/KMLRoot.java +++ b/src/gov/nasa/worldwind/ogc/kml/KMLRoot.java @@ -577,7 +577,7 @@ public Object resolveReference(String link) if (absentResourceList.isResourceAbsent(link)) return null; - // Store remote files in the World Wind cache by default. This provides backward compatibility with applications + // Store remote files in the WorldWind cache by default. This provides backward compatibility with applications // depending on resolveReference's behavior prior to the addition of the cacheRemoteFile parameter. Object o = this.resolveReference(link, true); @@ -609,7 +609,7 @@ public Object resolveReference(String link) * method may not return the same temporary location. * * @param link the document address in the form address#identifier. - * @param cacheRemoteFile true to store remote documents in the World Wind cache, or false + * @param cacheRemoteFile true to store remote documents in the WorldWind cache, or false * to store remote documents in a temporary location. Has no effect if the address is a local * document. * @@ -762,7 +762,7 @@ public Object resolveRemoteReference(String linkBase, String linkRef) throw new IllegalArgumentException(message); } - // Store remote files in the World Wind cache by default. This provides backward compatibility with applications + // Store remote files in the WorldWind cache by default. This provides backward compatibility with applications // depending on resolveRemoteReference's behavior prior to the addition of the cacheRemoteFile parameter. return this.resolveRemoteReference(linkBase, linkRef, true); } @@ -778,14 +778,14 @@ public Object resolveRemoteReference(String linkBase, String linkRef) * for the KML file identified by {@code linkBase}. Otherwise the return value is a {@link URL} to the file in the * file cache or a temporary location, depending on the value of cacheRemoteFile. *

      - * The cacheRemoteFile parameter specifies whether to store a retrieved remote file in the World Wind + * The cacheRemoteFile parameter specifies whether to store a retrieved remote file in the WorldWind * cache or in a temporary location. This parameter has no effect if the file exists locally. The temporary location * for a retrieved file does not persist between runtime sessions, and subsequent invocations of this method may not * return the same temporary location. * * @param linkBase the address of the document containing the requested element. * @param linkRef the element's identifier. - * @param cacheRemoteFile true to store remote files in the World Wind cache, or false to + * @param cacheRemoteFile true to store remote files in the WorldWind cache, or false to * store remote files in a temporary location. Has no effect if the address is a local file. * * @return URL to the requested file, parsed KMLRoot, or KML feature. Returns null if the document is not yet @@ -867,13 +867,13 @@ public Object resolveRemoteReference(String linkBase, String linkRef, boolean ca * The return value is a parsed KMLRoot representing the linked document. The return value is null if the linked * file is not a KML file, or is not yet available in the FileStore. *

      - * The cacheRemoteFile parameter specifies whether to store a retrieved remote file in the World Wind + * The cacheRemoteFile parameter specifies whether to store a retrieved remote file in the WorldWind * cache or in a temporary location. This parameter has no effect if the file exists locally. The temporary location * for a retrieved file does not persist between runtime sessions, and subsequent invocations of this method may not * return the same temporary location. * * @param link the address to resolve - * @param cacheRemoteFile true to store remote files in the World Wind cache, or false to + * @param cacheRemoteFile true to store remote files in the WorldWind cache, or false to * store remote files in a temporary location. Has no effect if the address is a local file. * @param updateTime the time at which the link was last updated. If a cached file exists for the specified * resource, the file must have been retrieved after the link update time. Otherwise, the diff --git a/src/gov/nasa/worldwind/ogc/kml/impl/KMLController.java b/src/gov/nasa/worldwind/ogc/kml/impl/KMLController.java index 6d108435d1..bbc9418413 100644 --- a/src/gov/nasa/worldwind/ogc/kml/impl/KMLController.java +++ b/src/gov/nasa/worldwind/ogc/kml/impl/KMLController.java @@ -12,7 +12,7 @@ import gov.nasa.worldwind.render.*; /** - * Executes the mapping from KML to World Wind. Traverses a parsed KML document and creates the appropriate World Wind + * Executes the mapping from KML to WorldWind. Traverses a parsed KML document and creates the appropriate WorldWind * object to represent the KML. * * @author tag diff --git a/src/gov/nasa/worldwind/ogc/kml/impl/KMLSurfacePolygonImpl.java b/src/gov/nasa/worldwind/ogc/kml/impl/KMLSurfacePolygonImpl.java index a16b336e33..a7c20a3df4 100644 --- a/src/gov/nasa/worldwind/ogc/kml/impl/KMLSurfacePolygonImpl.java +++ b/src/gov/nasa/worldwind/ogc/kml/impl/KMLSurfacePolygonImpl.java @@ -61,7 +61,7 @@ public KMLSurfacePolygonImpl(KMLTraversalContext tc, KMLPlacemark placemark, KML KMLPolygon polygon = (KMLPolygon) geom; - // KMLPolygon's use linear interpolation between corners by definition. Configure the World Wind SurfacePolygon + // KMLPolygon's use linear interpolation between corners by definition. Configure the WorldWind SurfacePolygon // to use the appropriate path type for linear interpolation in geographic coordinates. this.setPathType(AVKey.LINEAR); diff --git a/src/gov/nasa/worldwind/ogc/kml/impl/KMLUtil.java b/src/gov/nasa/worldwind/ogc/kml/impl/KMLUtil.java index fb9fafb942..f50a0a086b 100644 --- a/src/gov/nasa/worldwind/ogc/kml/impl/KMLUtil.java +++ b/src/gov/nasa/worldwind/ogc/kml/impl/KMLUtil.java @@ -113,7 +113,7 @@ else if (KML_INSET_PIXELS.equals(units)) * Translate a WorldWind units constant ({@link AVKey#PIXELS}, {@link AVKey#INSET_PIXELS}, or {@link AVKey#FRACTION} * to the corresponding KML unit string ("pixels", "insetPixels", or "fraction"). * - * @param units World Wind units to translate. + * @param units WorldWind units to translate. * * @return KML units, or null if the argument is not a valid WW unit. */ diff --git a/src/gov/nasa/worldwind/ogc/kml/package.html b/src/gov/nasa/worldwind/ogc/kml/package.html index 11a339e630..735efdf97c 100644 --- a/src/gov/nasa/worldwind/ogc/kml/package.html +++ b/src/gov/nasa/worldwind/ogc/kml/package.html @@ -39,8 +39,8 @@

      How to Parse a KML or KMZ File or Stream

      defined by Google. Use these classes to obtain the contents of individual elements of the KML file.
    • -The classes in this package only read and parse a KML file. Mapping them to shapes, annotations and other World Wind -objects is a separate step. World Wind provides default mappings for many KML elements, but an application is fully able +The classes in this package only read and parse a KML file. Mapping them to shapes, annotations and other WorldWind +objects is a separate step. WorldWind provides default mappings for many KML elements, but an application is fully able to provide its own, and in some cases is expected to.

      Extending the Classes

      diff --git a/src/gov/nasa/worldwind/render/AbstractAnnotationBalloon.java b/src/gov/nasa/worldwind/render/AbstractAnnotationBalloon.java index feed2e7bb3..012b879653 100644 --- a/src/gov/nasa/worldwind/render/AbstractAnnotationBalloon.java +++ b/src/gov/nasa/worldwind/render/AbstractAnnotationBalloon.java @@ -188,7 +188,7 @@ protected void computeOffsets(DrawContext dc) // Apply the computed balloon size and offset to the internal annotation's attributes. Adjust the screen // offset so that an offset of (0, 0) pixels maps to the annotation's lower left corner, and an offset of // (1, 1) fractions maps to the annotation's upper right corner. We do this to present a consistent meaning - // for offset throughout the World Wind SDK. By default, annotation's offset is relative to it's bottom + // for offset throughout the WorldWind SDK. By default, annotation's offset is relative to it's bottom // center. We apply an additional offset of width/2 to compensate for this. annotationAttrs.setSize(screenSize); annotationAttrs.setDrawOffset( diff --git a/src/gov/nasa/worldwind/render/AbstractBrowserBalloon.java b/src/gov/nasa/worldwind/render/AbstractBrowserBalloon.java index a9cc0e7313..c7d11dd13e 100644 --- a/src/gov/nasa/worldwind/render/AbstractBrowserBalloon.java +++ b/src/gov/nasa/worldwind/render/AbstractBrowserBalloon.java @@ -1648,7 +1648,7 @@ protected void drawWebViewLinks(DrawContext dc, OrderedBrowserBalloon obb) if (linkParams.getValue(AVKey.BOUNDS) == null || linkParams.getValue(AVKey.RECTANGLES) == null) continue; - // Translate the bounds from WebView coordinates to World Window screen coordinates. + // Translate the bounds from WebView coordinates to WorldWindow screen coordinates. Rectangle bounds = new Rectangle((Rectangle) linkParams.getValue(AVKey.BOUNDS)); bounds.translate(obb.webViewRect.x, obb.webViewRect.y); diff --git a/src/gov/nasa/worldwind/render/BalloonAttributes.java b/src/gov/nasa/worldwind/render/BalloonAttributes.java index aa2ed71cff..86b973b7a3 100644 --- a/src/gov/nasa/worldwind/render/BalloonAttributes.java +++ b/src/gov/nasa/worldwind/render/BalloonAttributes.java @@ -9,7 +9,7 @@ import java.awt.*; /** - * Holds attributes for World Wind {@link gov.nasa.worldwind.render.Balloon} shapes. Changes made to the attributes are + * Holds attributes for WorldWind {@link gov.nasa.worldwind.render.Balloon} shapes. Changes made to the attributes are * applied to the balloon when the WorldWindow renders the next frame. Instances of * BalloonAttributes may be shared by many balloons, thereby reducing the memory normally required to store * attributes for each balloon. diff --git a/src/gov/nasa/worldwind/render/BasicBalloonAttributes.java b/src/gov/nasa/worldwind/render/BasicBalloonAttributes.java index 3486309f4e..8c778c0056 100644 --- a/src/gov/nasa/worldwind/render/BasicBalloonAttributes.java +++ b/src/gov/nasa/worldwind/render/BasicBalloonAttributes.java @@ -14,7 +14,7 @@ /** * Basic implementation of the {@link gov.nasa.worldwind.render.BalloonAttributes} interface. Extends - * BasicShapeAttributes to include attributes for World Wind {@link gov.nasa.worldwind.render.Balloon} + * BasicShapeAttributes to include attributes for WorldWind {@link gov.nasa.worldwind.render.Balloon} * shapes. * * @author pabercrombie diff --git a/src/gov/nasa/worldwind/render/DrawContext.java b/src/gov/nasa/worldwind/render/DrawContext.java index a9785405a8..959bc849cb 100644 --- a/src/gov/nasa/worldwind/render/DrawContext.java +++ b/src/gov/nasa/worldwind/render/DrawContext.java @@ -52,7 +52,7 @@ public interface DrawContext extends WWObject, Disposable /** * Retrieves the current javax.media.opengl.GL. A GL or GLU is required for - * all graphical rendering in World Wind. + * all graphical rendering in WorldWind. * * @return the current GL if available, null otherwise * @@ -62,7 +62,7 @@ public interface DrawContext extends WWObject, Disposable /** * Retrieves the current javax.media.opengl.glu.GLU. A GLU or GL is required - * for all graphical rendering in World Wind. + * for all graphical rendering in WorldWind. * * @return the current GLU if available, null otherwise * diff --git a/src/gov/nasa/worldwind/render/ExtrudedPolygon.java b/src/gov/nasa/worldwind/render/ExtrudedPolygon.java index c2aa833bc3..c7fa471f0c 100644 --- a/src/gov/nasa/worldwind/render/ExtrudedPolygon.java +++ b/src/gov/nasa/worldwind/render/ExtrudedPolygon.java @@ -57,7 +57,7 @@ * Boundaries are required to be closed, their first location must be equal to their last location. Boundaries that are * not closed are explicitly closed by this shape when they are specified. *

      - * Extruded polygons are safe to share among World Windows. They should not be shared among layers in the same World + * Extruded polygons are safe to share among WorldWindows. They should not be shared among layers in the same World * Window. *

      * In order to support simultaneous use of this shape with multiple globes (windows), this shape maintains a cache of diff --git a/src/gov/nasa/worldwind/render/Polygon.java b/src/gov/nasa/worldwind/render/Polygon.java index 1f6bcf1ce9..98b322f184 100644 --- a/src/gov/nasa/worldwind/render/Polygon.java +++ b/src/gov/nasa/worldwind/render/Polygon.java @@ -28,7 +28,7 @@ /** * /** A 3D polygon. The polygon may be complex with multiple internal but not intersecting contours. *

      - * Polygons are safe to share among World Windows. They should not be shared among layers in the same World Window. + * Polygons are safe to share among WorldWindows. They should not be shared among layers in the same WorldWindow. *

      * In order to support simultaneous use of this shape with multiple globes (windows), this shape maintains a cache of * data computed relative to each globe. During rendering, the data for the currently active globe, as indicated in the diff --git a/src/gov/nasa/worldwind/render/ScreenImage.java b/src/gov/nasa/worldwind/render/ScreenImage.java index c0269efc7a..2d2053a76f 100644 --- a/src/gov/nasa/worldwind/render/ScreenImage.java +++ b/src/gov/nasa/worldwind/render/ScreenImage.java @@ -22,7 +22,7 @@ import java.net.URL; /** - * Draws an image parallel to the screen at a specified screen location relative to the World Window. If no image is + * Draws an image parallel to the screen at a specified screen location relative to the WorldWindow. If no image is * specified, a filled rectangle is drawn in its place. * * @author tag @@ -119,7 +119,7 @@ public Point getScreenLocation(DrawContext dc) /** * Convenience method to specify the location of the image on the screen. The specified screenLocation - * is relative to the upper-left corner of the World Window, and the image is centered on this location. + * is relative to the upper-left corner of the WorldWindow, and the image is centered on this location. * * @param screenLocation the screen location on which to center the image. May be null, in which case the image is * not displayed. diff --git a/src/gov/nasa/worldwind/render/ShapeAttributes.java b/src/gov/nasa/worldwind/render/ShapeAttributes.java index ec26bbd7c0..ee036b0649 100644 --- a/src/gov/nasa/worldwind/render/ShapeAttributes.java +++ b/src/gov/nasa/worldwind/render/ShapeAttributes.java @@ -9,7 +9,7 @@ import gov.nasa.worldwind.util.RestorableSupport; /** - * Holds common attributes for World Wind shapes such as {@link gov.nasa.worldwind.render.Path}, {@link + * Holds common attributes for WorldWind shapes such as {@link gov.nasa.worldwind.render.Path}, {@link * gov.nasa.worldwind.render.Polygon}, and {@link gov.nasa.worldwind.render.SurfaceShape}. Changes made to the * attributes are applied to the shape when the WorldWindow renders the next frame. Instances of * ShapeAttributes may be shared by many shapes, thereby reducing the memory normally required to store diff --git a/src/gov/nasa/worldwind/render/SurfaceObjectTileBuilder.java b/src/gov/nasa/worldwind/render/SurfaceObjectTileBuilder.java index de600a292a..fb2a5f4c23 100644 --- a/src/gov/nasa/worldwind/render/SurfaceObjectTileBuilder.java +++ b/src/gov/nasa/worldwind/render/SurfaceObjectTileBuilder.java @@ -22,7 +22,7 @@ /** * Builds a list of {@link gov.nasa.worldwind.render.SurfaceTile} instances who's content is defined by a specified set * of {@link gov.nasa.worldwind.render.SurfaceRenderable} instances. It's typically not necessary to use - * SurfaceObjectTileBuilder directly. World Wind's default scene controller automatically batches instances of + * SurfaceObjectTileBuilder directly. WorldWind's default scene controller automatically batches instances of * SurfaceRenderable in a single SurfaceObjectTileBuilder. Applications that need to draw basic surface shapes should * use or extend {@link gov.nasa.worldwind.render.SurfaceShape} instead of using SurfaceObjectTileBuilder directly. *

      @@ -30,7 +30,7 @@ * renderables. This assembles a set of surface tiles that meet the resolution requirements for the specified draw * context, then draws the surface renderables into those offscreen surface tiles by calling render on each instance. * This process may temporarily use the framebuffer to perform offscreen rendering, and therefore should be called - * during the preRender method of a World Wind layer. See the {@link gov.nasa.worldwind.render.PreRenderable} interface + * during the preRender method of a WorldWind layer. See the {@link gov.nasa.worldwind.render.PreRenderable} interface * for details. Once built, the surface tiles can be rendered by a {@link gov.nasa.worldwind.render.SurfaceTileRenderer}. *

      * By default, SurfaceObjectTileBuilder creates texture tiles with a width and height of 512 pixels, and with internal @@ -371,7 +371,7 @@ public Collection getTiles(DrawContext dc) * Assembles the surface tiles and draws any surface renderables in the iterable into those offscreen tiles. The * surface tiles are assembled to meet the necessary resolution of to the draw context's {@link * gov.nasa.worldwind.View}. This may temporarily use the framebuffer to perform offscreen rendering, and therefore - * should be called during the preRender method of a World Wind {@link gov.nasa.worldwind.layers.Layer}. + * should be called during the preRender method of a WorldWind {@link gov.nasa.worldwind.layers.Layer}. *

      * This does nothing if the specified iterable is null, is empty or contains no surface renderables. * diff --git a/src/gov/nasa/worldwind/render/WWIcon.java b/src/gov/nasa/worldwind/render/WWIcon.java index 67642b41db..2a814e1798 100644 --- a/src/gov/nasa/worldwind/render/WWIcon.java +++ b/src/gov/nasa/worldwind/render/WWIcon.java @@ -12,7 +12,7 @@ import java.awt.*; /** - * Provides a general interface for icons rendered by World Wind. Icons have a source image and optionally a background + * Provides a general interface for icons rendered by WorldWind. Icons have a source image and optionally a background * image. They may also have an associated tool tip. An icon has a geographic position. The indication of that position * is determined by implementations. The simplest implementation is to center the icon at the position, but association * by leader lines and other mechanisms are appropriate. diff --git a/src/gov/nasa/worldwind/render/airspaces/AirspaceAttributes.java b/src/gov/nasa/worldwind/render/airspaces/AirspaceAttributes.java index 403a346623..e545f8e084 100644 --- a/src/gov/nasa/worldwind/render/airspaces/AirspaceAttributes.java +++ b/src/gov/nasa/worldwind/render/airspaces/AirspaceAttributes.java @@ -9,10 +9,10 @@ import gov.nasa.worldwind.render.*; /** - * Holds common attributes for World Wind {@link Airspace} shapes. AirspaceAttributes was originally designed as a + * Holds common attributes for WorldWind {@link Airspace} shapes. AirspaceAttributes was originally designed as a * special purpose attribute bundle for Airspace, but is now a redundant subinterface of {@link * gov.nasa.worldwind.render.ShapeAttributes}. AirspaceAttributes is still used by Airspace shapes to ensure backward - * compatibility with earlier versions of World Wind. Usage of methods unique to AirspaceAttributes should be replaced + * compatibility with earlier versions of WorldWind. Usage of methods unique to AirspaceAttributes should be replaced * with the equivalent methods in ShapeAttributes. * * @author dcollins diff --git a/src/gov/nasa/worldwind/render/airspaces/BasicAirspaceAttributes.java b/src/gov/nasa/worldwind/render/airspaces/BasicAirspaceAttributes.java index 196158b406..9f1ec4cf51 100644 --- a/src/gov/nasa/worldwind/render/airspaces/BasicAirspaceAttributes.java +++ b/src/gov/nasa/worldwind/render/airspaces/BasicAirspaceAttributes.java @@ -15,7 +15,7 @@ * Basic implementation of the {@link gov.nasa.worldwind.render.airspaces.AirspaceAttributes} interface. * AirspaceAttributes was originally designed as a special purpose attribute bundle for {@link Airspace} shapes, but is * now redundant subclass of {@link gov.nasa.worldwind.render.BasicShapeAttributes}. BasicAirspaceAttributes is still - * supported to ensure backward compatibility with earlier versions of World Wind. Usage of methods unique to + * supported to ensure backward compatibility with earlier versions of WorldWind. Usage of methods unique to * AirspaceAttributes should be replaced with the equivalent methods in ShapeAttributes. * * @author tag diff --git a/src/gov/nasa/worldwind/retrieve/BulkRetrievable.java b/src/gov/nasa/worldwind/retrieve/BulkRetrievable.java index 7649b21f8a..a0670b2685 100644 --- a/src/gov/nasa/worldwind/retrieve/BulkRetrievable.java +++ b/src/gov/nasa/worldwind/retrieve/BulkRetrievable.java @@ -11,7 +11,7 @@ /** * Interface for classes whose data may be retrieved in bulk from its remote source. When used, will copy the requested - * data to either the local World Wind cache or a specified filestore. Data already contained in the specified location + * data to either the local WorldWind cache or a specified filestore. Data already contained in the specified location * is not recopied. * * @author Patrick Murris @@ -20,7 +20,7 @@ public interface BulkRetrievable { /** - * Initiates data retrieval to the current World Wind data cache. The method starts a new thread to perform the + * Initiates data retrieval to the current WorldWind data cache. The method starts a new thread to perform the * retrieval. The thread terminates when either all the requested data has been retrieved or when any data not * retrieved is determined to be unretrievable. * @@ -37,7 +37,7 @@ public interface BulkRetrievable BulkRetrievalThread makeLocal(Sector sector, double resolution, BulkRetrievalListener listener); /** - * Estimates the amount of data, in bytes, that must be retrieved to the World Wind data cache for a specified + * Estimates the amount of data, in bytes, that must be retrieved to the WorldWind data cache for a specified * sector and resolution. * * @param sector the sector for which to retrieve the data. @@ -55,7 +55,7 @@ public interface BulkRetrievable * @param sector the sector for which to retrieve the data. * @param resolution the resolution desired. All data within the specified sector up to and including this * resolution is downloaded. - * @param fileStore the location to place the data. If null, the current World Wind cache is used. + * @param fileStore the location to place the data. If null, the current WorldWind cache is used. * * @return the estimated data size, in bytes. */ @@ -73,7 +73,7 @@ public interface BulkRetrievable * individual retrievals. Note: The listener is called on the thread performing the download, * which is not the event dispatch thread. Therefore any interaction with AWT or Swing within the * call must be done within a call to SwingUtilities.invokeLater(). - * @param fileStore the location to place the data. If null, the current World Wind cache is used. + * @param fileStore the location to place the data. If null, the current WorldWind cache is used. * * @return returns the running thread created to perform the retrieval. */ diff --git a/src/gov/nasa/worldwind/retrieve/URLRetriever.java b/src/gov/nasa/worldwind/retrieve/URLRetriever.java index 3ccb3a446e..e56c9302f1 100644 --- a/src/gov/nasa/worldwind/retrieve/URLRetriever.java +++ b/src/gov/nasa/worldwind/retrieve/URLRetriever.java @@ -27,7 +27,7 @@ public abstract class URLRetriever extends WWObjectImpl implements Retriever { /** - * Applications never need to use this constant. It provides compatibility with very old World Wind tile servers + * Applications never need to use this constant. It provides compatibility with very old WorldWind tile servers * that deliver zipped content without identifying the content type as other than application/zip. In these cases, * the object requesting the content must know the content type to expect, and also requires that the zip file be * opened and only its first entry returned. diff --git a/src/gov/nasa/worldwind/symbology/SymbologyConstants.java b/src/gov/nasa/worldwind/symbology/SymbologyConstants.java index c3fdf7c067..d8b3144a07 100644 --- a/src/gov/nasa/worldwind/symbology/SymbologyConstants.java +++ b/src/gov/nasa/worldwind/symbology/SymbologyConstants.java @@ -9,7 +9,7 @@ import java.util.*; /** - * Defines constants used by the World Wind symbology classes, including symbolic constants and modifier keys for + * Defines constants used by the WorldWind symbology classes, including symbolic constants and modifier keys for * MIL-STD-2525 tactical symbols and tactical graphics. * * @author dcollins diff --git a/src/gov/nasa/worldwind/symbology/TacticalGraphic.java b/src/gov/nasa/worldwind/symbology/TacticalGraphic.java index 82510ff63a..42b51a05d1 100644 --- a/src/gov/nasa/worldwind/symbology/TacticalGraphic.java +++ b/src/gov/nasa/worldwind/symbology/TacticalGraphic.java @@ -59,9 +59,9 @@ * RenderableLayer graphicLayer = new RenderableLayer(); * graphicLayer.addRenderable(graphic); * - * // Add the layer to the world window's model and request that the layer redraw itself. The world window draws the + * // Add the layer to the WorldWindow's model and request that the layer redraw itself. The WorldWindow draws the * // graphic on the globe at the specified position. Interactions between the graphic and the cursor are returned in - * // the world window's picked object list, and reported to the world window's select listeners. + * // the WorldWindow's picked object list, and reported to the WorldWindow's select listeners. * WorldWindow wwd = ... // A reference to your application's WorldWind instance. * wwd.getModel().getLayers().add(graphicLayer); * wwd.redraw(); diff --git a/src/gov/nasa/worldwind/symbology/TacticalSymbol.java b/src/gov/nasa/worldwind/symbology/TacticalSymbol.java index df1ab3dd9a..223dc6ab0e 100644 --- a/src/gov/nasa/worldwind/symbology/TacticalSymbol.java +++ b/src/gov/nasa/worldwind/symbology/TacticalSymbol.java @@ -48,9 +48,9 @@ * RenderableLayer symbolLayer = new RenderableLayer(); * symbolLayer.addRenderable(symbol); * - * // Add the layer to the world window's model and request that the window redraw itself. The world window draws the + * // Add the layer to the WorldWindow's model and request that the window redraw itself. The WorldWindow draws the * // symbol on the globe at the specified position. Interactions between the symbol and the cursor are returned in the - * // world window's picked object list, and reported to the world window's select listeners. + * // WorldWindow's picked object list, and reported to the WorldWindow's select listeners. * WorldWindow wwd = ... // A reference to your application's WorldWindow instance. * wwd.getModel().getLayers().add(symbolLayer); * wwd.redraw(); diff --git a/src/gov/nasa/worldwind/symbology/milstd2525/graphics/DefaultOffsets.java b/src/gov/nasa/worldwind/symbology/milstd2525/graphics/DefaultOffsets.java index 73948d38f5..a09a6b8c77 100644 --- a/src/gov/nasa/worldwind/symbology/milstd2525/graphics/DefaultOffsets.java +++ b/src/gov/nasa/worldwind/symbology/milstd2525/graphics/DefaultOffsets.java @@ -15,7 +15,7 @@ /** * Object to provide default offsets for MIL-STD-2525C tactical point graphics. The offset is used to align a point on * the graphic with the graphic's geographic position. This class automatically populates the map with values - * appropriate for the point graphic images supplied by World Wind. + * appropriate for the point graphic images supplied by WorldWind. * * @author pabercrombie * @version $Id: DefaultOffsets.java 542 2012-04-24 19:08:12Z pabercrombie $ diff --git a/src/gov/nasa/worldwind/terrain/BasicElevationModel.java b/src/gov/nasa/worldwind/terrain/BasicElevationModel.java index e0b53a579e..b617a3cd7b 100644 --- a/src/gov/nasa/worldwind/terrain/BasicElevationModel.java +++ b/src/gov/nasa/worldwind/terrain/BasicElevationModel.java @@ -687,7 +687,7 @@ protected static ByteBuffer convertImageToElevations(ByteBuffer buffer, String c /** * Start a new {@link BulkRetrievalThread} that downloads all elevations for a given sector and resolution to the - * current World Wind file cache, without downloading imagery already in the cache. + * current WorldWind file cache, without downloading imagery already in the cache. *

      * This method creates and starts a thread to perform the download. A reference to the thread is returned. To create * a downloader that has not been started, construct a {@link BasicElevationModelBulkDownloader}. @@ -722,7 +722,7 @@ public BulkRetrievalThread makeLocal(Sector sector, double resolution, BulkRetri * * @param sector the sector to download data for. * @param resolution the target resolution, provided in radians of latitude per texel. - * @param fileStore the file store in which to place the downloaded elevations. If null the current World Wind file + * @param fileStore the file store in which to place the downloaded elevations. If null the current WorldWind file * cache is used. * @param listener an optional retrieval listener. May be null. * @@ -749,7 +749,7 @@ public BulkRetrievalThread makeLocal(Sector sector, double resolution, FileStore } /** - * Get the estimated size in bytes of the elevations not in the World Wind file cache for the given sector and + * Get the estimated size in bytes of the elevations not in the WorldWind file cache for the given sector and * resolution. *

      * Note that the target resolution must be provided in radians of latitude per texel, which is the resolution in @@ -776,7 +776,7 @@ public long getEstimatedMissingDataSize(Sector sector, double resolution) * * @param sector the sector to estimate. * @param resolution the target resolution, provided in radians of latitude per texel. - * @param fileStore the file store to examine. If null the current World Wind file cache is used. + * @param fileStore the file store to examine. If null the current WorldWind file cache is used. * * @return the estimated size in bytes of the missing elevations. * @@ -1620,7 +1620,7 @@ protected double[] computeExtremeElevations(Sector sector) protected synchronized MemoryCache getExtremesLookupCache() { // Note that the extremes lookup cache does not belong to the WorldWind memory cache set, therefore it will not - // be automatically cleared and disposed when World Wind is shutdown. However, since the extremes lookup cache + // be automatically cleared and disposed when WorldWind is shutdown. However, since the extremes lookup cache // is a local reference to this elevation model, it will be reclaimed by the JVM garbage collector when this // elevation model is reclaimed by the GC. @@ -2021,7 +2021,7 @@ protected String retrieveResources() // // Note that we use the URL's String representation as the cache key. We cannot use the URL itself, because // the cache invokes the methods Object.hashCode() and Object.equals() on the cache key. URL's implementations - // of hashCode() and equals() perform blocking IO calls. World Wind does not perform blocking calls during + // of hashCode() and equals() perform blocking IO calls. WorldWind does not perform blocking calls during // rendering, and this method is likely to be called from the rendering thread. WMSCapabilities caps; if (this.isNetworkRetrievalEnabled()) diff --git a/src/gov/nasa/worldwind/terrain/BasicElevationModelBulkDownloader.java b/src/gov/nasa/worldwind/terrain/BasicElevationModelBulkDownloader.java index 6decfa435f..fce9333319 100644 --- a/src/gov/nasa/worldwind/terrain/BasicElevationModelBulkDownloader.java +++ b/src/gov/nasa/worldwind/terrain/BasicElevationModelBulkDownloader.java @@ -20,7 +20,7 @@ import java.util.*; /** - * Downloads elevation data not currently available in the World Wind file cache or a specified {@link FileStore}. The + * Downloads elevation data not currently available in the WorldWind file cache or a specified {@link FileStore}. The * class derives from {@link Thread} and is meant to operate in its own thread. *

      * The sector and resolution associated with the downloader are specified during construction and are final. @@ -39,7 +39,7 @@ public class BasicElevationModelBulkDownloader extends BulkRetrievalThread protected ArrayList missingTiles; /** - * Constructs a downloader to retrieve elevations not currently available in the World Wind file cache. + * Constructs a downloader to retrieve elevations not currently available in the WorldWind file cache. *

      * The thread returned is not started during construction, the caller must start the thread. * diff --git a/src/gov/nasa/worldwind/terrain/BasicElevationModelFactory.java b/src/gov/nasa/worldwind/terrain/BasicElevationModelFactory.java index 03c1dda228..a82a1e941c 100644 --- a/src/gov/nasa/worldwind/terrain/BasicElevationModelFactory.java +++ b/src/gov/nasa/worldwind/terrain/BasicElevationModelFactory.java @@ -40,7 +40,7 @@ public class BasicElevationModelFactory extends BasicFactory * For non-compound models, this method maps the serviceName attribute of the * ElevationModel/Service element of the XML configuration document to the appropriate elevation-model * type. Service types recognized are:"

      • "WMS" for elevation models that draw their data from a WMS web - * service.
      • "WWTileService" for elevation models that draw their data from a World Wind tile service.
      • + * service.
      • "WWTileService" for elevation models that draw their data from a WorldWind tile service.
      • *
      • "Offline" for elevation models that draw their data only from the local cache.
      * * @param configSource the configuration source. See above for supported types. diff --git a/src/gov/nasa/worldwind/terrain/WCSElevationModel.java b/src/gov/nasa/worldwind/terrain/WCSElevationModel.java index 47d61f450e..5ef9602bfc 100644 --- a/src/gov/nasa/worldwind/terrain/WCSElevationModel.java +++ b/src/gov/nasa/worldwind/terrain/WCSElevationModel.java @@ -37,7 +37,7 @@ public WCSElevationModel(WCS100Capabilities caps, AVList params) /** * Create a new elevation model from a serialized restorable state string. * - * @param restorableStateInXml XML string in World Wind restorable state format. + * @param restorableStateInXml XML string in WorldWind restorable state format. * * @see #getRestorableState() */ diff --git a/src/gov/nasa/worldwind/util/AbstractHotSpot.java b/src/gov/nasa/worldwind/util/AbstractHotSpot.java index 9edb0a7e15..ef1f0478cb 100644 --- a/src/gov/nasa/worldwind/util/AbstractHotSpot.java +++ b/src/gov/nasa/worldwind/util/AbstractHotSpot.java @@ -42,7 +42,7 @@ public boolean isActive() } /** - * Called when the HotSpot is selected in the World Window. The default implementation does nothing. Override this + * Called when the HotSpot is selected in the WorldWindow. The default implementation does nothing. Override this * method to handle select events. * * @param event The event to handle. @@ -82,7 +82,7 @@ public void keyReleased(KeyEvent event) } /** - * Called when the mouse is clicked on the HotSpot in the World Window. The default implementation does nothing. + * Called when the mouse is clicked on the HotSpot in the WorldWindow. The default implementation does nothing. * Override this method to handle mouse click events. * * @param event The event to handle. @@ -92,7 +92,7 @@ public void mouseClicked(MouseEvent event) } /** - * Called when the mouse is pressed over the HotSpot in the World Window. The default implementation does nothing. + * Called when the mouse is pressed over the HotSpot in the WorldWindow. The default implementation does nothing. * Override this method to handle mouse pressed events. * * @param event The event to handle. @@ -102,7 +102,7 @@ public void mousePressed(MouseEvent event) } /** - * Called when the mouse is released over the HotSpot in the World Window. The default implementation does nothing. + * Called when the mouse is released over the HotSpot in the WorldWindow. The default implementation does nothing. * Override this method to handle mouse released events. * * @param event The event to handle. @@ -112,7 +112,7 @@ public void mouseReleased(MouseEvent event) } /** - * Called when the mouse enters the World Window and the HotSpot is active. The default implementation does nothing. + * Called when the mouse enters the WorldWindow and the HotSpot is active. The default implementation does nothing. * Override this method to handle mouse enter events. * * @param event The event to handle. @@ -122,7 +122,7 @@ public void mouseEntered(MouseEvent event) } /** - * Called when the mouse exits the World Window and the HotSpot is active. The default implementation does nothing. + * Called when the mouse exits the WorldWindow and the HotSpot is active. The default implementation does nothing. * Override this method to handle mouse exit events. * * @param event The event to handle. @@ -132,7 +132,7 @@ public void mouseExited(MouseEvent event) } /** - * Called when the mouse is dragged in the World Window and the HotSpot is active. The default implementation does + * Called when the mouse is dragged in the WorldWindow and the HotSpot is active. The default implementation does * nothing. Override this method to handle mouse dragged events. * * @param event The event to handle. @@ -142,7 +142,7 @@ public void mouseDragged(MouseEvent event) } /** - * Called when the cursor moves over the HotSpot in the World Window. The default implementation does nothing. + * Called when the cursor moves over the HotSpot in the WorldWindow. The default implementation does nothing. * Override this method to handle mouse move events. * * @param event The event to handle. @@ -152,7 +152,7 @@ public void mouseMoved(MouseEvent event) } /** - * Called when the mouse wheel is moved in the World Window and HotSpot is active. The default implementation does + * Called when the mouse wheel is moved in the WorldWindow and HotSpot is active. The default implementation does * nothing. Override this method to handle mouse wheel events. * * @param event The event to handle. diff --git a/src/gov/nasa/worldwind/util/BasicNetworkStatus.java b/src/gov/nasa/worldwind/util/BasicNetworkStatus.java index 49f8f66a09..a684ddb9e6 100644 --- a/src/gov/nasa/worldwind/util/BasicNetworkStatus.java +++ b/src/gov/nasa/worldwind/util/BasicNetworkStatus.java @@ -79,7 +79,7 @@ public BasicNetworkStatus() /** * Determines and stores the network sites to test for public network connectivity. The sites are drawn from the * JVM's gov.nasa.worldwind.avkey.NetworkStatusTestSites property ({@link AVKey#NETWORK_STATUS_TEST_SITES}). If that - * property is not defined, the sites are drawn from the same property in the World Wind or application + * property is not defined, the sites are drawn from the same property in the WorldWind or application * configuration file. If the sites are not specified there, the set of sites specified in {@link * #DEFAULT_NETWORK_TEST_SITES} are used. To indicate an empty list in the JVM property or configuration file * property, specify an empty site list, "". diff --git a/src/gov/nasa/worldwind/util/DataConfigurationFilter.java b/src/gov/nasa/worldwind/util/DataConfigurationFilter.java index 1fc668eb9d..513863a2c9 100644 --- a/src/gov/nasa/worldwind/util/DataConfigurationFilter.java +++ b/src/gov/nasa/worldwind/util/DataConfigurationFilter.java @@ -11,7 +11,7 @@ /** * An implementation of {@link FileStoreFilter} which accepts XML configuration documents. Accepted document types are: *
      • Layer configuration documents
      • ElevationModel configuration documents
      • Installed data - * configuration documents
      • World Wind .NET LevelSet documents
      + * configuration documents
    • WorldWind .NET LevelSet documents
    * * @author dcollins * @version $Id: DataConfigurationFilter.java 1171 2013-02-11 21:45:02Z dcollins $ diff --git a/src/gov/nasa/worldwind/util/DataConfigurationUtils.java b/src/gov/nasa/worldwind/util/DataConfigurationUtils.java index 8c9f7d4d05..10c94f7c10 100644 --- a/src/gov/nasa/worldwind/util/DataConfigurationUtils.java +++ b/src/gov/nasa/worldwind/util/DataConfigurationUtils.java @@ -23,7 +23,7 @@ import java.util.concurrent.*; /** - * A collection of static methods useful for opening, reading, and otherwise working with World Wind data configuration + * A collection of static methods useful for opening, reading, and otherwise working with WorldWind data configuration * documents. * * @author dcollins @@ -37,7 +37,7 @@ public class DataConfigurationUtils /** * Returns true if the specified {@link org.w3c.dom.Element} is a data configuration document. This recognizes the * following data configuration documents:
    • Layer Configuration Documents
    • Elevation Model - * Configuration Documents
    • Installed DataDescriptor Documents
    • World Wind .NET LayerSet + * Configuration Documents
    • Installed DataDescriptor Documents
    • WorldWind .NET LayerSet * Documents
    * * @param domElement the document in question. @@ -83,7 +83,7 @@ public static boolean isDataConfig(Element domElement) * Returns the specified data configuration document transformed to a standard Layer or ElevationModel configuration * document. This returns the original document if the document is already in a standard form, or if the document is * not one of the recognized types. Installed DataDescriptor documents are transformed to standard Layer or - * ElevationModel configuration documents, depending on the document contents. World Wind .NET LayerSet documents + * ElevationModel configuration documents, depending on the document contents. WorldWind .NET LayerSet documents * are transformed to standard Layer configuration documents. This returns null if the document's root element is * null. * @@ -128,7 +128,7 @@ public static Document convertToStandardDataConfigDocument(Document doc) * follows: * - * + * *
    Document TypePath to Display Name
    Layer * Configuration./DisplayName
    Elevation Model Configuration./DisplayName
    Installed DataDescriptor./property[@name="dataSet"]/property[@name="gov.nasa.worldwind.avkey.DatasetNameKey"]
    World Wind .NET LayerSet./QuadTileSet/Name
    Othernull
    WorldWind .NET LayerSet./QuadTileSet/Name
    Othernull
    * * @param domElement the data configuration document who's display name is returned. @@ -172,7 +172,7 @@ public static String getDataConfigDisplayName(Element domElement) * recognized types. This maps data configuration documents to a type string as follows: + * "ElevationModel" *
    Document * TypeType String
    Layer Configuration"Layer"
    Elevation Model * Configuration"Elevation Model"
    Installed DataDescriptor"Layer" or - * "ElevationModel"
    World Wind .NET LayerSet"Layer"
    WorldWind .NET LayerSet"Layer"
    Othernull
    * * @param domElement the data configuration document to determine a type for. @@ -1810,7 +1810,7 @@ protected static void transformDataDescriptorElevationModelElements(Element cont // Data descriptor files are written with the property "gov.nasa.worldwind.avkey.MissingDataValue". But it // means the value that denotes a missing data point, and not the value that replaces missing values. - // Translate that key here to MissingDataSignal, so it is properly understood by the World Wind API + // Translate that key here to MissingDataSignal, so it is properly understood by the WorldWind API // (esp. BasicElevationModel). Double d = WWXML.getDouble(context, "property[@name=\"gov.nasa.worldwind.avkey.MissingDataValue\"]", xpath); if (d != null) @@ -1880,11 +1880,11 @@ protected static Sector getDataDescriptorSector(Element context, String path, XP } //**************************************************************// - //******************** World Wind .NET LayerSet Configuration // + //******************** WorldWind .NET LayerSet Configuration // //**************************************************************// /** - * Returns true if a specified document is a World Wind .NET LayerSet configuration document, and false otherwise. + * Returns true if a specified document is a WorldWind .NET LayerSet configuration document, and false otherwise. * * @param domElement the document in question. * @@ -1908,7 +1908,7 @@ public static boolean isWWDotNetLayerSetConfigDocument(Element domElement) } /** - * Returns true if a specified XML event is the root of a World Wind .NET LayerSet configuration document, and false + * Returns true if a specified XML event is the root of a WorldWind .NET LayerSet configuration document, and false * otherwise. * * @param event the XML event in question. @@ -1936,7 +1936,7 @@ public static boolean isWWDotNetLayerSetConfigEvent(XMLEvent event) } /** - * Parses World Wind .NET LayerSet configuration parameters from the specified document. This writes output as + * Parses WorldWind .NET LayerSet configuration parameters from the specified document. This writes output as * key-value pairs to params. If a parameter from the LayerSet document already exists in params, that parameter is * ignored. Supported key and parameter names are: @@ -2114,7 +2114,7 @@ public static AVList getWWDotNetLayerSetConfigParams(Element domElement, AVList } /** - * Transforms a World Wind .NET LayerSet configuration document to a standard layer configuration document. + * Transforms a WorldWind .NET LayerSet configuration document to a standard layer configuration document. * * @param domElement LayerSet document to transform. * diff --git a/src/gov/nasa/worldwind/util/HotSpot.java b/src/gov/nasa/worldwind/util/HotSpot.java index 4b974495d6..230a0800b5 100644 --- a/src/gov/nasa/worldwind/util/HotSpot.java +++ b/src/gov/nasa/worldwind/util/HotSpot.java @@ -34,7 +34,7 @@ public interface HotSpot extends SelectListener, KeyListener, MouseListener, Mou boolean isActive(); /** - * Called when the HotSpot is selected in the World Window. + * Called when the HotSpot is selected in the WorldWindow. * * @param event The event to handle. */ @@ -62,56 +62,56 @@ public interface HotSpot extends SelectListener, KeyListener, MouseListener, Mou void keyReleased(KeyEvent event); /** - * Called when the mouse is clicked on the HotSpot in the World Window. + * Called when the mouse is clicked on the HotSpot in the WorldWindow. * * @param event The event to handle. */ void mouseClicked(MouseEvent event); /** - * Called when the mouse is pressed over the HotSpot in the World Window. + * Called when the mouse is pressed over the HotSpot in the WorldWindow. * * @param event The event to handle. */ void mousePressed(MouseEvent event); /** - * Called when the mouse is released over the HotSpot in the World Window. + * Called when the mouse is released over the HotSpot in the WorldWindow. * * @param event The event to handle. */ void mouseReleased(MouseEvent event); /** - * Called when the mouse enters the World Window and the HotSpot is active. + * Called when the mouse enters the WorldWindow and the HotSpot is active. * * @param event The event to handle. */ void mouseEntered(MouseEvent event); /** - * Called when the mouse exits the World Window and the HotSpot is active. + * Called when the mouse exits the WorldWindow and the HotSpot is active. * * @param event The event to handle. */ void mouseExited(MouseEvent event); /** - * Called when the mouse is dragged in the World Window and the HotSpot is active. + * Called when the mouse is dragged in the WorldWindow and the HotSpot is active. * * @param event The event to handle. */ void mouseDragged(MouseEvent event); /** - * Called when the cursor moves over the HotSpot in the World Window. + * Called when the cursor moves over the HotSpot in the WorldWindow. * * @param event The event to handle. */ void mouseMoved(MouseEvent event); /** - * Called when the mouse wheel is moved in the World Window and HotSpot is active. + * Called when the mouse wheel is moved in the WorldWindow and HotSpot is active. * * @param event The event to handle. */ diff --git a/src/gov/nasa/worldwind/util/Logging.java b/src/gov/nasa/worldwind/util/Logging.java index 44eb459ad6..ab073598be 100644 --- a/src/gov/nasa/worldwind/util/Logging.java +++ b/src/gov/nasa/worldwind/util/Logging.java @@ -14,7 +14,7 @@ import java.util.logging.*; /** - * This class of static methods provides the interface to logging for World Wind components. Logging is performed via + * This class of static methods provides the interface to logging for WorldWind components. Logging is performed via * {@link java.util.logging}. The default logger name is gov.nasa.worldwind. The logger name is * configurable via {@link gov.nasa.worldwind.Configuration}. * @@ -33,7 +33,7 @@ private Logging() } // Prevent instantiation /** - * Returns the World Wind logger. + * Returns the WorldWind logger. * * @return The logger. */ @@ -54,7 +54,7 @@ public static Logger logger() /** * Returns a specific logger. Does not access {@link gov.nasa.worldwind.Configuration} to determine the configured - * World Wind logger. + * WorldWind logger. *

    * This is needed by {@link gov.nasa.worldwind.Configuration} to avoid calls back into itself when its singleton * instance is not yet instantiated. @@ -69,7 +69,7 @@ public static Logger logger(String loggerName) } /** - * Retrieves a message from the World Wind message resource bundle. + * Retrieves a message from the WorldWind message resource bundle. * * @param property the property identifying which message to retrieve. * @@ -90,7 +90,7 @@ public static String getMessage(String property) } /** - * Retrieves a message from the World Wind message resource bundle formatted with a single argument. The argument is + * Retrieves a message from the WorldWind message resource bundle formatted with a single argument. The argument is * inserted into the message via {@link java.text.MessageFormat}. * * @param property the property identifying which message to retrieve. @@ -106,7 +106,7 @@ public static String getMessage(String property, String arg) } /** - * Retrieves a message from the World Wind message resource bundle formatted with specified arguments. The arguments + * Retrieves a message from the WorldWind message resource bundle formatted with specified arguments. The arguments * are inserted into the message via {@link java.text.MessageFormat}. * * @param property the property identifying which message to retrieve. diff --git a/src/gov/nasa/worldwind/util/MessageStrings.properties b/src/gov/nasa/worldwind/util/MessageStrings.properties index 1c5558f23f..8a0793dc83 100644 --- a/src/gov/nasa/worldwind/util/MessageStrings.properties +++ b/src/gov/nasa/worldwind/util/MessageStrings.properties @@ -775,13 +775,13 @@ BasicRetrievalService.CancellingTooOldRetrieval=Cancelling request too long on t BasicRetrievalService.ExceptionDuringRetrieval=Exception during retrieval of {0} BasicRetrievalService.ExecutionExceptionDuringRetrieval=Execution exception during retrieval of {0} BasicRetrievalService.ExceptionRetrievingContentSizes=Exception retrieving content sizes from Retriever {0} -BasicRetrievalService.IdleThreadNamePrefix=Idle World Wind Retriever +BasicRetrievalService.IdleThreadNamePrefix=Idle WorldWind Retriever BasicRetrievalService.ResourceRejectedQueueIsFull=Retrieval service rejected, queue is full, resource {0} BasicRetrievalService.ResourceRejected=Retrieval service rejected resource {0} BasicRetrievalService.RetrievalInterrupted=Retrieval of {0} was interrupted BasicRetrievalService.RetrievalCancelled=Retrieval of {0} was cancelled BasicRetrievalService.RetrieverPoolSizeIsLessThanOne=Retriever pool size is less than 1 -BasicRetrievalService.RunningThreadNamePrefix=Running World Wind Retriever:\u0020 +BasicRetrievalService.RunningThreadNamePrefix=Running WorldWind Retriever:\u0020 BasicRetrievalService.UncaughtExceptionDuringRetrieval=Uncaught exception during retrieval on thread {0} BasicSceneController.GLContextNullStartRedisplay=GLContext is null at start of repaint @@ -1221,8 +1221,8 @@ TextureAtlas.ExceptionAddingImage=Exception adding texture atlas image: {0} ThreadedTaskService.CancellingDuplicateTask=Cancelling duplicate task of {0} ThreadedTaskService.UncaughtExceptionDuringTask=Uncaught exception during task on thread {0} ThreadedTaskService.ResourceRejected=Task service rejected resource {0} -ThreadedTaskService.RunningThreadNamePrefix=Running World Wind Task\u0020 -ThreadedTaskService.IdleThreadNamePrefix=Idle World Wind Task\u0020 +ThreadedTaskService.RunningThreadNamePrefix=Running WorldWind Task\u0020 +ThreadedTaskService.IdleThreadNamePrefix=Idle WorldWind Task\u0020 TiledElevationModel.ExceptionCreatingElevationsUrl=Exception creating elevations URL for {0} TiledElevationModel.ExceptionSavingRetrievedElevationFile=Exception while saving retrieved elevation file to {0} @@ -1357,8 +1357,8 @@ WorldFile.TooFewWorldFileValues=Number of world file values is less than the req WorldFile.UnrecognizedValues=The coordinate system of the latitude and longitude values in file {0} cannot be determined WorldFile.WorldFileNotFound=Cannot find world file for image {0} -WorldWind.ExceptionCreatingComponent=Exception while creating World Wind component {0} -WorldWind.ErrorCreatingComponent=Error while creating World Wind component {0} +WorldWind.ExceptionCreatingComponent=Exception while creating WorldWind component {0} +WorldWind.ErrorCreatingComponent=Error while creating WorldWind component {0} WorldWind.NoClassNameInConfigurationForKey=No class name in configuration for key {0} WorldWind.UnableToCreateClassForConfigurationKey=Unable to create class for configuration key {0} @@ -1375,7 +1375,7 @@ WWDotNetLayerSetConverter.CannotInstallLayerSet=Cannot install WW.Net LayerSet { WWDotNetLayerSetConverter.CannotInstallToSelf=Cannot install WW.Net LayerSet {0} onto itself at {1} WWDotNetLayerSetConverter.CannotReadLayerSetConfigFile=Cannot read WW.Net LayerSet configuration {0} WWDotNetLayerSetConverter.CannotWriteLayerConfigFile=Cannot write layer configuration {0} -WWDotNetLayerSetConverter.Description=World Wind .NET LayerSet (*.xml) +WWDotNetLayerSetConverter.Description=WorldWind .NET LayerSet (*.xml) WWDotNetLayerSetConverter.ExceptionRemovingProductionState=Exception while removing production state for WW.Net LayerSet {0} WWDotNetLayerSetConverter.FileNotLayerSet=File is not a WW.Net LayerSet configuration {0} WWDotNetLayerSetConverter.FileWithoutParent=File has no parent folder {0} diff --git a/src/gov/nasa/worldwind/util/NetworkStatus.java b/src/gov/nasa/worldwind/util/NetworkStatus.java index 29bd704752..db16dd3bbb 100644 --- a/src/gov/nasa/worldwind/util/NetworkStatus.java +++ b/src/gov/nasa/worldwind/util/NetworkStatus.java @@ -25,7 +25,7 @@ * as not unreachable after a specifiable interval of time. If the host is once more logged as unavailable, its entry * returns to the unavailable state. This cycle continues indefinitely. *

    - * Methods are provided to determine whether the public network can be reached and whether the NASA World Wind servers + * Methods are provided to determine whether the public network can be reached and whether the NASA WorldWind servers * cab be reached. The addresses used to detect public network access can be explicitly specified. * * @author tag @@ -80,7 +80,7 @@ public interface NetworkStatus extends AVList boolean isNetworkUnavailable(long checkInterval); /** - * Indicates whether the NASA World Wind servers can be reached. + * Indicates whether the NASA WorldWind servers can be reached. * * @return false if the servers can be reached, otherwise true. */ @@ -102,17 +102,17 @@ public interface NetworkStatus extends AVList long getTryAgainInterval(); /** - * Indicates whether World Wind will attempt to connect to the network to retrieve data or for other reasons. + * Indicates whether WorldWind will attempt to connect to the network to retrieve data or for other reasons. * - * @return true if World Wind is in off-line mode, false if not. + * @return true if WorldWind is in off-line mode, false if not. */ boolean isOfflineMode(); /** - * Indicates whether World Wind should attempt to connect to the network to retrieve data or for other reasons. The + * Indicates whether WorldWind should attempt to connect to the network to retrieve data or for other reasons. The * default value for this attribute is false, indicating that the network should be used. * - * @param offlineMode true if World Wind should use the network, false otherwise + * @param offlineMode true if WorldWind should use the network, false otherwise */ void setOfflineMode(boolean offlineMode); diff --git a/src/gov/nasa/worldwind/util/OGLRenderToTextureSupport.java b/src/gov/nasa/worldwind/util/OGLRenderToTextureSupport.java index 6fce4dc127..a96a0cbc1e 100644 --- a/src/gov/nasa/worldwind/util/OGLRenderToTextureSupport.java +++ b/src/gov/nasa/worldwind/util/OGLRenderToTextureSupport.java @@ -19,7 +19,7 @@ * whenever possible. Different GL feature sets result in different approaches to rendering to texture, therefore the * caller cannot depend on the mechanism by which OGLRenderToTextureSupport will write pixel values to the destination * texture. For this reason, OGLRenderToTextureSupport must be used when the contents of the windowing system buffer - * (likely the back framebuffer) can be freely modified by OGLRenderToTextureSupport. The World Wind pre-render stage is + * (likely the back framebuffer) can be freely modified by OGLRenderToTextureSupport. The WorldWind pre-render stage is * a good example of when it is appropriate to use OGLRenderToTextureSupport. Fore more information on the pre-render * stage, see {@link gov.nasa.worldwind.render.PreRenderable} and {@link gov.nasa.worldwind.layers.Layer#preRender(gov.nasa.worldwind.render.DrawContext)}. * Note: In order to achieve consistent results across all platforms, it is essential to clear the texture's diff --git a/src/gov/nasa/worldwind/util/ShapeEditor.java b/src/gov/nasa/worldwind/util/ShapeEditor.java index 37a55f36ac..404248071e 100644 --- a/src/gov/nasa/worldwind/util/ShapeEditor.java +++ b/src/gov/nasa/worldwind/util/ShapeEditor.java @@ -297,7 +297,7 @@ public Angle getRotation() * @param wwd the {@link gov.nasa.worldwind.WorldWindow} associated with the specified shape. * @param originalShape the shape to edit. * - * @throws java.lang.IllegalArgumentException if either the specified world window or shape is null. + * @throws java.lang.IllegalArgumentException if either the specified WorldWindow or shape is null. */ public ShapeEditor(WorldWindow wwd, Renderable originalShape) { @@ -418,9 +418,9 @@ public void setUnitsFormat(UnitsFormat unitsFormat) } /** - * Indicates the World Window associated with this editor. + * Indicates the WorldWindow associated with this editor. * - * @return the World Window associated with this editor. + * @return the WorldWindow associated with this editor. */ public WorldWindow getWwd() { diff --git a/src/gov/nasa/worldwind/util/gdal/GDALUtils.java b/src/gov/nasa/worldwind/util/gdal/GDALUtils.java index dc190b4f9d..a9b61eef21 100644 --- a/src/gov/nasa/worldwind/util/gdal/GDALUtils.java +++ b/src/gov/nasa/worldwind/util/gdal/GDALUtils.java @@ -1283,7 +1283,7 @@ public static AVList extractRasterParameters(Dataset ds) throws IllegalArgumentE *

    * AVKey.DATA_TYPE required ( valid values: AVKey.INT16, and AVKey.FLOAT32 ) *

    - * AVKey.VERSION optional, if missing a default will be used "NASA World Wind" + * AVKey.VERSION optional, if missing a default will be used "NASA WorldWind" *

    * AVKey.DISPLAY_NAME, (String) optional, specifies a name of the document/image *

    diff --git a/src/gov/nasa/worldwind/util/tree/Tree.java b/src/gov/nasa/worldwind/util/tree/Tree.java index bb64b7adad..17fc496a0c 100644 --- a/src/gov/nasa/worldwind/util/tree/Tree.java +++ b/src/gov/nasa/worldwind/util/tree/Tree.java @@ -10,7 +10,7 @@ import gov.nasa.worldwind.render.OrderedRenderable; /** - * A tree of objects, drawn in the World Window, that the user can interact with. How the tree is drawn is determined by + * A tree of objects, drawn in the WorldWindow, that the user can interact with. How the tree is drawn is determined by * the {@link TreeLayout}. * * @author pabercrombie diff --git a/src/gov/nasa/worldwind/util/tree/package.html b/src/gov/nasa/worldwind/util/tree/package.html index eeaafb9705..ccac6f448d 100644 --- a/src/gov/nasa/worldwind/util/tree/package.html +++ b/src/gov/nasa/worldwind/util/tree/package.html @@ -10,7 +10,7 @@ Tree -

    A tree control drawn in the world window. The user can interact with the tree. The basic tree implementation renders +

    A tree control drawn in the WorldWindow. The user can interact with the tree. The basic tree implementation renders the tree similar to a file browser tree, but other layouts can be provided.

    See {@link gov.nasa.worldwindx.examples.util.TreeControl} for an example of using the tree. {@link diff --git a/src/gov/nasa/worldwind/view/BasicView.java b/src/gov/nasa/worldwind/view/BasicView.java index 8ff6cfcdd0..7b95b1acfa 100644 --- a/src/gov/nasa/worldwind/view/BasicView.java +++ b/src/gov/nasa/worldwind/view/BasicView.java @@ -73,7 +73,7 @@ public class BasicView extends WWObjectImpl implements View protected static final double MINIMUM_NEAR_DISTANCE = 1; protected static final double MINIMUM_FAR_DISTANCE = 1000; /** - * The views's default worst-case depth resolution, in meters. May be specified in the World Wind configuration file + * The views's default worst-case depth resolution, in meters. May be specified in the WorldWind configuration file * as the gov.nasa.worldwind.avkey.DepthResolution property. The default if not specified in the * configuration is 3.0 meters. */ @@ -664,7 +664,7 @@ protected double computeNearDistance(Position eyePosition) } // Prevent the near clip plane from becoming unnecessarily small. A very small clip plane is not useful for - // rendering the World Wind scene, and significantly reduces the depth precision in the majority of the scene. + // rendering the WorldWind scene, and significantly reduces the depth precision in the majority of the scene. if (nearDistance < MINIMUM_NEAR_DISTANCE) nearDistance = MINIMUM_NEAR_DISTANCE; @@ -898,7 +898,7 @@ public Matrix setReferenceCenter(DrawContext dc, Vec4 referenceCenter) /** * Removes the model-view matrix on top of the matrix stack, and restores the original matrix. * - * @param dc the current World Wind drawing context on which the original matrix will be restored. + * @param dc the current WorldWind drawing context on which the original matrix will be restored. * * @throws IllegalArgumentException if dc is null, or if the Globe or GL * instances in dc are null. diff --git a/src/gov/nasa/worldwindx/applications/antenna/AntennaAxes.java b/src/gov/nasa/worldwindx/applications/antenna/AntennaAxes.java index d47fab7660..4f052399b6 100644 --- a/src/gov/nasa/worldwindx/applications/antenna/AntennaAxes.java +++ b/src/gov/nasa/worldwindx/applications/antenna/AntennaAxes.java @@ -423,7 +423,7 @@ protected void drawLabels(DrawContext dc) if (this.getElevationAngle() != null) baseM = baseM.multiply(Matrix.fromAxisAngle(this.getElevationAngle(), Vec4.UNIT_X)); - // Compute the screen points at which to place the labels. These are all points on the World Wind principal + // Compute the screen points at which to place the labels. These are all points on the WorldWind principal // axes, not the antenna model's axes. The correct labeling of those takes place below when the labels are // drawn. They have the same directions, but in the antenna model WW's Y axis is the model's Z axis, WW's Z // axis is the model's X axis, and WW's X axis is the model's Y axis. diff --git a/src/gov/nasa/worldwindx/applications/antenna/AntennaViewer.java b/src/gov/nasa/worldwindx/applications/antenna/AntennaViewer.java index 5ac7eee735..ff5877fc2c 100644 --- a/src/gov/nasa/worldwindx/applications/antenna/AntennaViewer.java +++ b/src/gov/nasa/worldwindx/applications/antenna/AntennaViewer.java @@ -99,6 +99,6 @@ public static void main(String[] args) Configuration.setValue(AVKey.INITIAL_LONGITUDE, ANTENNA_POSITION.getLongitude().degrees); Configuration.setValue(AVKey.INITIAL_ALTITUDE, 30e3); - ApplicationTemplate.start("World Wind Antenna Gain Visualization", AppFrame.class); + ApplicationTemplate.start("WorldWind Antenna Gain Visualization", AppFrame.class); } } diff --git a/src/gov/nasa/worldwindx/applications/dataimporter/DataInstaller.java b/src/gov/nasa/worldwindx/applications/dataimporter/DataInstaller.java index 657aab12c0..b27dace5e4 100644 --- a/src/gov/nasa/worldwindx/applications/dataimporter/DataInstaller.java +++ b/src/gov/nasa/worldwindx/applications/dataimporter/DataInstaller.java @@ -196,7 +196,7 @@ protected Document createDataStore(FileSet fileSet, File installLocation, String Thread.yield(); } - // Convert the file to a form usable by World Wind components, + // Convert the file to a form usable by WorldWind components, // according to the specified DataStoreProducer. // This throws an exception if production fails for any reason. producer.startProduction(); diff --git a/src/gov/nasa/worldwindx/applications/dataimporter/DataInstallerApp.java b/src/gov/nasa/worldwindx/applications/dataimporter/DataInstallerApp.java index 075511c4ec..57fafdc826 100644 --- a/src/gov/nasa/worldwindx/applications/dataimporter/DataInstallerApp.java +++ b/src/gov/nasa/worldwindx/applications/dataimporter/DataInstallerApp.java @@ -91,7 +91,7 @@ protected void initialize() southPanel.add(dataInstallerPanel, BorderLayout.CENTER); this.getContentPane().add(southPanel, BorderLayout.SOUTH); - // Create and install the view controls layer and register a controller for it with the World Window. + // Create and install the view controls layer and register a controller for it with the WorldWindow. ViewControlsLayer viewControlsLayer = new ViewControlsLayer(); ApplicationTemplate.insertBeforeCompass(getWwd(), viewControlsLayer); this.getWwd().addSelectListener(new ViewControlsSelectListener(this.getWwd(), viewControlsLayer)); @@ -125,7 +125,7 @@ public WorldWindow getWwd() if (Configuration.isMacOS()) { System.setProperty("apple.laf.useScreenMenuBar", "true"); - System.setProperty("com.apple.mrj.application.apple.menu.about.name", "World Wind Application"); + System.setProperty("com.apple.mrj.application.apple.menu.about.name", "WorldWind Application"); System.setProperty("com.apple.mrj.application.growbox.intrudes", "false"); } else if (Configuration.isWindowsOS()) diff --git a/src/gov/nasa/worldwindx/applications/dataimporter/FileSetHighlighter.java b/src/gov/nasa/worldwindx/applications/dataimporter/FileSetHighlighter.java index 0110514c1e..33512902bf 100644 --- a/src/gov/nasa/worldwindx/applications/dataimporter/FileSetHighlighter.java +++ b/src/gov/nasa/worldwindx/applications/dataimporter/FileSetHighlighter.java @@ -169,7 +169,7 @@ protected void populateLayer(FileSet fileSet, RenderableLayer layer) @Override public void selected(SelectEvent event) { - // Called when the sector is selected in the World Window. Ensures that the selected data set's entry in the + // Called when the sector is selected in the WorldWindow. Ensures that the selected data set's entry in the // data set table is visible. if (!event.getEventAction().equals(SelectEvent.LEFT_CLICK)) diff --git a/src/gov/nasa/worldwindx/applications/dataimporter/FileStoreDataSet.java b/src/gov/nasa/worldwindx/applications/dataimporter/FileStoreDataSet.java index 3c7979cc3d..de2b59dcad 100644 --- a/src/gov/nasa/worldwindx/applications/dataimporter/FileStoreDataSet.java +++ b/src/gov/nasa/worldwindx/applications/dataimporter/FileStoreDataSet.java @@ -18,7 +18,7 @@ import java.io.*; /** - * Represents one data set within a World Wind filestore. + * Represents one data set within a WorldWind filestore. * * @author tag * @version $Id: FileStoreDataSet.java 1180 2013-02-15 18:40:47Z tgaskins $ @@ -150,9 +150,9 @@ protected void attachMetadata() return; // This data configuration came from an existing file from disk, therefore we cannot guarantee that the - // current version of World Wind's data installer produced it. This data configuration file may have been - // created by a previous version of World Wind, or by another program. Set fallback values for any missing - // parameters that World Wind needs to construct a Layer or ElevationModel from this data configuration. + // current version of WorldWind's data installer produced it. This data configuration file may have been + // created by a previous version of WorldWind, or by another program. Set fallback values for any missing + // parameters that WorldWind needs to construct a Layer or ElevationModel from this data configuration. setFallbackParams(doc, this.configFilePath, this); Element domElement = doc.getDocumentElement(); diff --git a/src/gov/nasa/worldwindx/applications/dataimporter/LayersMenu.java b/src/gov/nasa/worldwindx/applications/dataimporter/LayersMenu.java index 7bc993da23..26b2553325 100644 --- a/src/gov/nasa/worldwindx/applications/dataimporter/LayersMenu.java +++ b/src/gov/nasa/worldwindx/applications/dataimporter/LayersMenu.java @@ -55,7 +55,7 @@ protected void fill(WorldWindow wwd) // First remove all the existing menu items. this.removeAll(); - // Fill the layers panel with the titles of all layers in the world window's current model. + // Fill the layers panel with the titles of all layers in the WorldWindow's current model. for (Layer layer : wwd.getModel().getLayers()) { if (layer.getValue(AVKey.IGNORE) != null) diff --git a/src/gov/nasa/worldwindx/applications/sar/SAR2.java b/src/gov/nasa/worldwindx/applications/sar/SAR2.java index 2d45aebba9..b0540ba57f 100644 --- a/src/gov/nasa/worldwindx/applications/sar/SAR2.java +++ b/src/gov/nasa/worldwindx/applications/sar/SAR2.java @@ -741,7 +741,7 @@ private File getAnnotationsPath(String trackFilePath) private void initComponents() { //======== this ======== - setTitle("World Wind Search and Rescue"); + setTitle("WorldWind Search and Rescue"); setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); addWindowListener(new WindowAdapter() { @@ -1145,7 +1145,7 @@ public void actionPerformed(ActionEvent e) }); helpMenu.add(sarHelp); - //---- "About [World Wind Search and Rescue Prototype]" ---- + //---- "About [WorldWind Search and Rescue Prototype]" ---- if (!Configuration.isMacOS()) { JMenuItem about = new JMenuItem(); diff --git a/src/gov/nasa/worldwindx/applications/sar/SARAbout.html b/src/gov/nasa/worldwindx/applications/sar/SARAbout.html index 1843168ec3..fcaa32801f 100644 --- a/src/gov/nasa/worldwindx/applications/sar/SARAbout.html +++ b/src/gov/nasa/worldwindx/applications/sar/SARAbout.html @@ -9,7 +9,7 @@ - NASA World Wind License + NASA WorldWind License -

    World Wind Search and Rescue Instructions

    +

    WorldWind Search and Rescue Instructions

    Panels and Controls

    SAR Application Frame diff --git a/src/gov/nasa/worldwindx/applications/sar/config/SAR.properties b/src/gov/nasa/worldwindx/applications/sar/config/SAR.properties index 4164270f2a..4b712323dc 100644 --- a/src/gov/nasa/worldwindx/applications/sar/config/SAR.properties +++ b/src/gov/nasa/worldwindx/applications/sar/config/SAR.properties @@ -5,9 +5,9 @@ # # -# Default World Wind Configuration Properties -# Specify configuration values here to override World Wind's default values. -# Lines starting with # are comments and ignored by World Wind. +# Default WorldWind Configuration Properties +# Specify configuration values here to override WorldWind's default values. +# Lines starting with # are comments and ignored by WorldWind. # # @version $Id: SAR.properties 1958 2014-04-24 19:25:37Z tgaskins $ # diff --git a/src/gov/nasa/worldwindx/applications/sar/segmentplane/SegmentPlaneController.java b/src/gov/nasa/worldwindx/applications/sar/segmentplane/SegmentPlaneController.java index 1c72aff71c..f789740f99 100644 --- a/src/gov/nasa/worldwindx/applications/sar/segmentplane/SegmentPlaneController.java +++ b/src/gov/nasa/worldwindx/applications/sar/segmentplane/SegmentPlaneController.java @@ -215,7 +215,7 @@ public void mouseDragged(MouseEvent e) { if (this.active) { - // Don't update the segment plane here because the World Window current cursor position will not have + // Don't update the segment plane here because the WorldWindow current cursor position will not have // been updated to reflect the current mouse position. Wait to update in the position listener, but // consume the event so the View doesn't respond to it. e.consume(); diff --git a/src/gov/nasa/worldwindx/applications/sar/worldwind-nosa-1.3.html b/src/gov/nasa/worldwindx/applications/sar/worldwind-nosa-1.3.html index 4d75a7fc15..bbd5ad5eee 100644 --- a/src/gov/nasa/worldwindx/applications/sar/worldwind-nosa-1.3.html +++ b/src/gov/nasa/worldwindx/applications/sar/worldwind-nosa-1.3.html @@ -10,7 +10,7 @@ - NASA World Wind License + NASA WorldWind License
    ParameterElement * PathType
    {@link gov.nasa.worldwind.avlist.AVKey#DISPLAY_NAME}QuadTileSet/NameString