ucar.unidata.view.geoloc
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:
- Serialized Form
NewMapAreaEvent
public NewMapAreaEvent(Object source)
- Creat an event for new map areas
- Parameters:
source - source of the event
NewMapAreaEvent
public NewMapAreaEvent(Object source,
boolean isZoom,
Rectangle2D bounds)
- Create an event for new map areas
- Parameters:
source - source of eventisZoom - true if event from zoombounds - new map area
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