NASA World Wind

gov.nasa.worldwindx.examples
Class ViewLimits

java.lang.Object
  extended by gov.nasa.worldwindx.examples.ApplicationTemplate
      extended by 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
static class ViewLimits.AppFrame
           
static class ViewLimits.Controller
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Field Summary
protected static String HEADING_LIMITS_CHANGED
           
protected static String LOAD
           
protected static String PITCH_LIMITS_CHANGED
           
protected static String SAVE
           
protected static String SECTOR_LIMITS_CHANGED
           
protected static String ZOOM_LIMITS_CHANGED
           
 
Constructor Summary
ViewLimits()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADING_LIMITS_CHANGED

protected static final String HEADING_LIMITS_CHANGED
See Also:
Constant Field Values

LOAD

protected static final String LOAD
See Also:
Constant Field Values

PITCH_LIMITS_CHANGED

protected static final String PITCH_LIMITS_CHANGED
See Also:
Constant Field Values

SAVE

protected static final String SAVE
See Also:
Constant Field Values

SECTOR_LIMITS_CHANGED

protected static final String SECTOR_LIMITS_CHANGED
See Also:
Constant Field Values

ZOOM_LIMITS_CHANGED

protected static final String ZOOM_LIMITS_CHANGED
See Also:
Constant Field Values
Constructor Detail

ViewLimits

public ViewLimits()
Method Detail

main

public static void main(String[] args)

NASA World Wind