Package ucar.unidata.view.geoloc
Class NewMapAreaEvent
java.lang.Object
java.util.EventObject
ucar.unidata.view.geoloc.NewMapAreaEvent
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionNewMapAreaEvent
(Object source) Creat an event for new map areasNewMapAreaEvent
(Object source, boolean isFlip) NewMapAreaEvent
(Object source, boolean isZoom, Rectangle2D bounds) Create an event for new map areas -
Method Summary
Modifier and TypeMethodDescriptionGet the Bounds property.boolean
Get the flip property.boolean
Is this a zoom event (as opposed to a selected area event)Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
NewMapAreaEvent
Creat an event for new map areas- Parameters:
source
- source of the event
-
NewMapAreaEvent
-
NewMapAreaEvent
Create an event for new map areas- Parameters:
source
- source of eventisZoom
- true if event from zoombounds
- 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
Get the Bounds property.- Returns:
- The Bounds
-
getIsFlip
public boolean getIsFlip()Get the flip property.- Returns:
- The Bounds
-