public final class WCMouseEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
alt |
private int |
button |
static int |
BUTTON1 |
static int |
BUTTON2 |
static int |
BUTTON3 |
private int |
clickCount |
private boolean |
control |
private int |
id |
private boolean |
meta |
static int |
MOUSE_DRAGGED |
static int |
MOUSE_MOVED |
static int |
MOUSE_PRESSED |
static int |
MOUSE_RELEASED |
static int |
MOUSE_WHEEL |
static int |
NOBUTTON |
private boolean |
popupTrigger |
private int |
screenX |
private int |
screenY |
private boolean |
shift |
private long |
when |
private int |
x |
private int |
y |
Constructor and Description |
---|
WCMouseEvent(int id,
int button,
int clickCount,
int x,
int y,
int screenX,
int screenY,
long when,
boolean shift,
boolean control,
boolean alt,
boolean meta,
boolean popupTrigger) |
Modifier and Type | Method and Description |
---|---|
int |
getButton() |
int |
getClickCount() |
int |
getID() |
int |
getScreenX() |
int |
getScreenY() |
long |
getWhen() |
int |
getX() |
int |
getY() |
boolean |
isAltDown() |
boolean |
isControlDown() |
boolean |
isMetaDown() |
boolean |
isPopupTrigger() |
boolean |
isShiftDown() |
@Native public static final int MOUSE_PRESSED
@Native public static final int MOUSE_RELEASED
@Native public static final int MOUSE_MOVED
@Native public static final int MOUSE_DRAGGED
@Native public static final int MOUSE_WHEEL
@Native public static final int NOBUTTON
@Native public static final int BUTTON1
@Native public static final int BUTTON2
@Native public static final int BUTTON3
private final int id
private final long when
private final int button
private final int clickCount
private final int x
private final int y
private final int screenX
private final int screenY
private final boolean shift
private final boolean control
private final boolean alt
private final boolean meta
private final boolean popupTrigger
public WCMouseEvent(int id, int button, int clickCount, int x, int y, int screenX, int screenY, long when, boolean shift, boolean control, boolean alt, boolean meta, boolean popupTrigger)
public int getID()
public long getWhen()
public int getButton()
public int getClickCount()
public int getX()
public int getY()
public int getScreenX()
public int getScreenY()
public boolean isShiftDown()
public boolean isControlDown()
public boolean isAltDown()
public boolean isMetaDown()
public boolean isPopupTrigger()