Class NewMapAreaEvent

java.lang.Object
java.util.EventObject
ucar.unidata.view.geoloc.NewMapAreaEvent
All Implemented Interfaces:
Serializable

public class NewMapAreaEvent extends EventObject
Used to notify listeners that there is a new world bounding box.
Version:
$Id: NewMapAreaEvent.java,v 1.8 2005/05/13 18:33:13 jeffmc Exp $
Author:
John Caron
See Also:
  • Constructor Details

    • NewMapAreaEvent

      public NewMapAreaEvent(Object source)
      Creat an event for new map areas
      Parameters:
      source - source of the event
    • NewMapAreaEvent

      public NewMapAreaEvent(Object source, boolean isFlip)
    • NewMapAreaEvent

      public NewMapAreaEvent(Object source, boolean isZoom, Rectangle2D bounds)
      Create an event for new map areas
      Parameters:
      source - source of event
      isZoom - true if event from zoom
      bounds - new map area
  • Method Details

    • getIsZoom

      public boolean getIsZoom()
      Is this a zoom event (as opposed to a selected area event)
      Returns:
      is a zoom event.
    • getBounds

      public Rectangle2D getBounds()
      Get the Bounds property.
      Returns:
      The Bounds
    • getIsFlip

      public boolean getIsFlip()
      Get the flip property.
      Returns:
      The Bounds