public class MapMouseEvent
extends java.util.EventObject
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getButton() |
int |
getClickCount() |
Point |
getCloneWhere() |
int |
getID() |
java.awt.event.MouseEvent |
getMouseEvent() |
java.awt.event.MouseWheelEvent |
getMouseWheelEvent() |
int |
getPixelX() |
int |
getPixelY() |
Point |
getWhere() |
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
public MapMouseEvent(java.lang.Object source,
java.awt.event.MouseEvent evt,
Point where,
int pixelX,
int pixelY)
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()