com.partnersoft.maps.view
Class MapMouseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.partnersoft.maps.view.MapMouseEvent
All Implemented Interfaces:
java.io.Serializable

public class MapMouseEvent
extends java.util.EventObject

A translation of standard MouseEvents into Map coordinates.

Author:
Paul Reavis Copyright 1997, 1998 Partner Software, Inc.
See Also:
Serialized Form

Field Summary
static int BUTTON1
           
static int BUTTON2
           
static int BUTTON3
           
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.
static int MAP_WHEEL
          The mouse wheel event type.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MapMouseEvent(java.lang.Object source, java.awt.event.MouseEvent evt, Point where, int pixelX, int pixelY)
          Creates a new MapMouseEvent whose ID corresponds to the ID of the ID of the provided MouseEvent.
 
Method Summary
 int getButton()
           
 int getClickCount()
           
 Point getCloneWhere()
           
 int getID()
           
 java.awt.event.MouseEvent getMouseEvent()
           
 java.awt.event.MouseWheelEvent getMouseWheelEvent()
           
 int getPixelX()
           
 int getPixelY()
           
 Point getWhere()
           
 
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

MAP_WHEEL

public static final int MAP_WHEEL
The mouse wheel event type.

See Also:
Constant Field Values

BUTTON1

public static final int BUTTON1
See Also:
Constant Field Values

BUTTON2

public static final int BUTTON2
See Also:
Constant Field Values

BUTTON3

public static final int BUTTON3
See Also:
Constant Field Values
Constructor Detail

MapMouseEvent

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

Method Detail

getMouseEvent

public java.awt.event.MouseEvent getMouseEvent()

getMouseWheelEvent

public java.awt.event.MouseWheelEvent getMouseWheelEvent()

getClickCount

public int getClickCount()

getButton

public int getButton()

getID

public int getID()

getWhere

public Point getWhere()

getCloneWhere

public Point getCloneWhere()

getPixelX

public int getPixelX()

getPixelY

public int getPixelY()