Class PipPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PipPanel extends NavigatedMapPanel
A navigated panel that holds a set of maps.
Author:
Jeff McWhirter
See Also:
  • Constructor Details

    • PipPanel

      public PipPanel(MapViewManager mapViewManager)
      Create a NMP with a set of maps
      Parameters:
      mapViewManager - the mvm
    • PipPanel

      public PipPanel(MapViewManager mapViewManager, List defaultMaps)
      Create a NMP with a set of maps
      Parameters:
      mapViewManager - the mvm
      defaultMaps - default set of maps.
  • Method Details

    • doMakeMapPanel

      protected NavigatedPanel doMakeMapPanel()
      Make the map panel
      Overrides:
      doMakeMapPanel in class NavigatedMapPanel
      Returns:
      map panel
    • keyPressedInMap

      public void keyPressedInMap(KeyEvent e)
      Handle event
      Parameters:
      e - The event
    • resetDrawBounds

      public void resetDrawBounds() throws RemoteException, VisADException
      Set the drawing bounds.
      Throws:
      RemoteException - On badness
      VisADException - On badness
    • redrawInABit

      public void redrawInABit()
      Redraw in a little while
    • doRedraw

      public void doRedraw()
      Redraw if needed
    • annotateMap

      protected void annotateMap(Graphics2D gNP)
      Draw the overview box in the map
      Overrides:
      annotateMap in class NavigatedMapPanel
      Parameters:
      gNP - graphics to draw in
    • screenToLatLon

      public ucar.unidata.geoloc.LatLonPoint screenToLatLon(int x, int y)
      _more_
      Parameters:
      x - _more_
      y - _more_
      Returns:
      _more_