|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.partnersoft.v3x.apps.MapBrowser.MapMouseEvent
public class MapMouseEvent
A translation of standard MouseEvents into Map coordinates.
| 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 |
|---|
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
| Constructor Detail |
|---|
public MapMouseEvent(java.lang.Object source,
int ID,
Coord3D where,
int pixelX,
int pixelY)
public MapMouseEvent(java.lang.Object source,
java.awt.event.MouseEvent evt,
Coord3D where,
int pixelX,
int pixelY)
| Method Detail |
|---|
public int getID()
public Coord3D getWhere()
public Coord3D getCloneWhere()
public int getPixelX()
public int getPixelY()
protected void setPixelX(int newX)
protected void setPixelY(int newY)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||