Package gov.nasa.worldwindx.examples
Class ViewLimits
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- gov.nasa.worldwindx.examples.ViewLimits
-
public class ViewLimits extends ApplicationTemplate
Example of how to keep the view within certain bounds. This example defines a geographic bounding box, and requires the view center position to stay within this box. The view can also be constrained by heading, pitch, and zoom.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classViewLimits.AppFramestatic classViewLimits.Controller-
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringHEADING_LIMITS_CHANGEDprotected static java.lang.StringLOADprotected static java.lang.StringPITCH_LIMITS_CHANGEDprotected static java.lang.StringSAVEprotected static java.lang.StringSECTOR_LIMITS_CHANGEDprotected static java.lang.StringZOOM_LIMITS_CHANGED
-
Constructor Summary
Constructors Constructor Description ViewLimits()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-
-
-
Field Detail
-
SECTOR_LIMITS_CHANGED
protected static final java.lang.String SECTOR_LIMITS_CHANGED
- See Also:
- Constant Field Values
-
HEADING_LIMITS_CHANGED
protected static final java.lang.String HEADING_LIMITS_CHANGED
- See Also:
- Constant Field Values
-
PITCH_LIMITS_CHANGED
protected static final java.lang.String PITCH_LIMITS_CHANGED
- See Also:
- Constant Field Values
-
ZOOM_LIMITS_CHANGED
protected static final java.lang.String ZOOM_LIMITS_CHANGED
- See Also:
- Constant Field Values
-
SAVE
protected static final java.lang.String SAVE
- See Also:
- Constant Field Values
-
LOAD
protected static final java.lang.String LOAD
- See Also:
- Constant Field Values
-
-