games.strategy.triplea.ui
Class MouseDetails
java.lang.Object
games.strategy.triplea.ui.MouseDetails
public class MouseDetails
- extends java.lang.Object
|
Constructor Summary |
MouseDetails(java.awt.event.MouseEvent mouseEvent,
double x,
double y)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MouseDetails
public MouseDetails(java.awt.event.MouseEvent mouseEvent,
double x,
double y)
getMouseEvent
public java.awt.event.MouseEvent getMouseEvent()
getX
public double getX()
getY
public double getY()
isRightButton
public boolean isRightButton()
isControlDown
public boolean isControlDown()
isShiftDown
public boolean isShiftDown()
isAltDown
public boolean isAltDown()
getMapPoint
public java.awt.Point getMapPoint()
- Returns:
- this point is in the map co-ordinates, unscaled
getButton
public int getButton()