com.partnersoft.v3x.apps.MapBrowser
Class MapMouseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.partnersoft.v3x.apps.MapBrowser.MapMouseEvent
All Implemented Interfaces:
java.io.Serializable

public class MapMouseEvent
extends java.util.EventObject

A translation of standard MouseEvents into Map coordinates.

See Also:
Serialized Form

Field Summary
static int MAP_CLICKED
          The mouse clicked event type.
static int MAP_DRAGGED
          The mouse dragged event type.
static int MAP_ENTERED
          The mouse entered event type.
static int MAP_EXITED
          The mouse exited event type.
static int MAP_MOVED
          The mouse moved event type.
static int MAP_PRESSED
          The mouse pressed event type.
static int MAP_RELEASED
          The mouse released event type.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MapMouseEvent(java.lang.Object source, int ID, Coord3D where, int pixelX, int pixelY)
           
MapMouseEvent(java.lang.Object source, java.awt.event.MouseEvent evt, Coord3D where, int pixelX, int pixelY)
          Creates a new MapMouseEvent whose ID corresponds to the ID of the ID of the provided MouseEvent.
 
Method Summary
 Coord3D getCloneWhere()
           
 int getID()
           
 int getPixelX()
           
 int getPixelY()
           
 Coord3D getWhere()
           
protected  void setPixelX(int newX)
           
protected  void setPixelY(int newY)
           
 
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
 

Field Detail

MAP_CLICKED

public static final int MAP_CLICKED
The mouse clicked event type.

See Also:
Constant Field Values

MAP_PRESSED

public static final int MAP_PRESSED
The mouse pressed event type.

See Also:
Constant Field Values

MAP_RELEASED

public static final int MAP_RELEASED
The mouse released event type.

See Also:
Constant Field Values

MAP_MOVED

public static final int MAP_MOVED
The mouse moved event type.

See Also:
Constant Field Values

MAP_ENTERED

public static final int MAP_ENTERED
The mouse entered event type.

See Also:
Constant Field Values

MAP_EXITED

public static final int MAP_EXITED
The mouse exited event type.

See Also:
Constant Field Values

MAP_DRAGGED

public static final int MAP_DRAGGED
The mouse dragged event type.

See Also:
Constant Field Values
Constructor Detail

MapMouseEvent

public MapMouseEvent(java.lang.Object source,
                     int ID,
                     Coord3D where,
                     int pixelX,
                     int pixelY)

MapMouseEvent

public MapMouseEvent(java.lang.Object source,
                     java.awt.event.MouseEvent evt,
                     Coord3D where,
                     int pixelX,
                     int pixelY)
Creates a new MapMouseEvent whose ID corresponds to the ID of the ID of the provided MouseEvent.

Method Detail

getID

public int getID()

getWhere

public Coord3D getWhere()

getCloneWhere

public Coord3D getCloneWhere()

getPixelX

public int getPixelX()

getPixelY

public int getPixelY()

setPixelX

protected void setPixelX(int newX)

setPixelY

protected void setPixelY(int newY)