|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.partnersoft.maps.view.MapMouseEvent
public class MapMouseEvent
A translation of standard MouseEvents into Map coordinates.
| 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 |
|---|
public static final int MAP_CLICKED
public static final int MAP_PRESSED
public static final int MAP_RELEASED
public static final int MAP_MOVED
public static final int MAP_ENTERED
public static final int MAP_EXITED
public static final int MAP_DRAGGED
public static final int MAP_WHEEL
public static final int BUTTON1
public static final int BUTTON2
public static final int BUTTON3
| Constructor Detail |
|---|
public MapMouseEvent(java.lang.Object source,
java.awt.event.MouseEvent evt,
Point where,
int pixelX,
int pixelY)
| Method Detail |
|---|
public java.awt.event.MouseEvent getMouseEvent()
public java.awt.event.MouseWheelEvent getMouseWheelEvent()
public int getClickCount()
public int getButton()
public int getID()
public Point getWhere()
public Point getCloneWhere()
public int getPixelX()
public int getPixelY()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||