Class RepastStatusBar

All Implemented Interfaces:
gov.nasa.worldwind.event.PositionListener, gov.nasa.worldwind.event.RenderingListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class RepastStatusBar extends JPanel implements gov.nasa.worldwind.event.PositionListener, gov.nasa.worldwind.event.RenderingListener
This implementation of WW StatusBar fixes bugs relating to disposal and WW shutdown to make sure all objects within are disposed properly, notably the Timer and PropertyChangeListeners.
Author:
Eric Tatara
See Also:
  • Field Details

  • Constructor Details

    • RepastStatusBar

      public RepastStatusBar()
  • Method Details

    • startNetCheckThread

      protected gov.nasa.worldwind.util.NetworkCheckThread startNetCheckThread()
    • setEventSource

      public void setEventSource(gov.nasa.worldwind.WorldWindow newEventSource)
    • isShowNetworkStatus

      public boolean isShowNetworkStatus()
    • setShowNetworkStatus

      public void setShowNetworkStatus(boolean showNetworkStatus)
    • moved

      public void moved(gov.nasa.worldwind.event.PositionEvent event)
      Specified by:
      moved in interface gov.nasa.worldwind.event.PositionListener
    • getEventSource

      public gov.nasa.worldwind.WorldWindow getEventSource()
    • getElevationUnit

      public String getElevationUnit()
    • setElevationUnit

      public void setElevationUnit(String unit)
    • getAngleFormat

      public String getAngleFormat()
    • setAngleFormat

      public void setAngleFormat(String format)
    • makeCursorElevationDescription

      protected String makeCursorElevationDescription(double metersElevation)
    • makeEyeAltitudeDescription

      protected String makeEyeAltitudeDescription(double metersAltitude)
    • makeAngleDescription

      protected String makeAngleDescription(String label, gov.nasa.worldwind.geom.Angle angle)
    • handleCursorPositionChange

      protected void handleCursorPositionChange(gov.nasa.worldwind.event.PositionEvent event)
    • dispose

      public void dispose()
    • stageChanged

      public void stageChanged(gov.nasa.worldwind.event.RenderingEvent event)
      Specified by:
      stageChanged in interface gov.nasa.worldwind.event.RenderingListener