ucar.unidata.view.geoloc
Class CursorMoveEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ucar.unidata.view.geoloc.CursorMoveEvent
All Implemented Interfaces:
Serializable

public class CursorMoveEvent
extends EventObject

Cursor has moved to a new location.

Version:
$Id: CursorMoveEvent.java,v 1.8 2005/05/13 18:33:10 jeffmc Exp $
Author:
John Caron
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CursorMoveEvent(Object source, Point2D world)
          Create a new CursorMoveEvent
 
Method Summary
 Point2D getLocation()
          Get the location of the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CursorMoveEvent

public CursorMoveEvent(Object source,
                       Point2D world)
Create a new CursorMoveEvent

Parameters:
source - source of event
world - world coordinates
Method Detail

getLocation

public Point2D getLocation()
Get the location of the event.

Returns:
the location