public class IMouseEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
altDown |
int |
button |
static int |
Button1 |
static int |
Button2 |
static int |
Button3 |
boolean |
controlDown |
(package private) int |
count |
float |
mouseX |
float |
mouseY |
boolean |
shiftDown |
Constructor and Description |
---|
IMouseEvent() |
IMouseEvent(float x,
float y) |
IMouseEvent(int b) |
IMouseEvent(int b,
boolean shiftDown,
boolean controlDown,
boolean altDown) |
IMouseEvent(int b,
boolean shiftDown,
boolean controlDown,
boolean altDown,
float x,
float y) |
IMouseEvent(int b,
float x,
float y) |
IMouseEvent(java.awt.event.MouseEvent e) |
IMouseEvent(processing.event.MouseEvent e) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
int |
getX() |
int |
getY() |
boolean |
isAltDown() |
boolean |
isControlDown() |
boolean |
isShiftDown() |
boolean |
match(IMouseEvent e)
check button matching
|
boolean |
match(java.awt.event.MouseEvent e)
check button matching
|
public static final int Button1
public static final int Button2
public static final int Button3
public int button
public boolean shiftDown
public boolean controlDown
public boolean altDown
public float mouseX
public float mouseY
int count
public IMouseEvent()
public IMouseEvent(int b)
public IMouseEvent(int b, boolean shiftDown, boolean controlDown, boolean altDown)
public IMouseEvent(float x, float y)
public IMouseEvent(int b, float x, float y)
public IMouseEvent(int b, boolean shiftDown, boolean controlDown, boolean altDown, float x, float y)
public IMouseEvent(java.awt.event.MouseEvent e)
public IMouseEvent(processing.event.MouseEvent e)
public int getX()
public int getY()
public int getCount()
public boolean isShiftDown()
public boolean isControlDown()
public boolean isAltDown()
public boolean match(java.awt.event.MouseEvent e)
public boolean match(IMouseEvent e)