java.awt.event
Class MouseEvent
java.lang.Object
|
+--java.awt.AWTEvent
|
+--java.awt.event.MouseEvent
- public class MouseEvent
- extends AWTEvent
Constructor Summary |
MouseEvent(Component source,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger)
|
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MOUSE_CLICKED
public static final int MOUSE_CLICKED
MOUSE_PRESSED
public static final int MOUSE_PRESSED
MOUSE_RELEASED
public static final int MOUSE_RELEASED
MOUSE_MOVED
public static final int MOUSE_MOVED
MOUSE_ENTERED
public static final int MOUSE_ENTERED
MOUSE_EXITED
public static final int MOUSE_EXITED
MOUSE_DRAGGED
public static final int MOUSE_DRAGGED
MouseEvent
public MouseEvent(Component source,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger)
getX
public int getX()
getY
public int getY()
translatePoint
public void translatePoint(int dx,
int dy)