public final class WCMouseEvent extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BUTTON1 |
static int |
BUTTON2 |
static int |
BUTTON3 |
static int |
MOUSE_DRAGGED |
static int |
MOUSE_MOVED |
static int |
MOUSE_PRESSED |
static int |
MOUSE_RELEASED |
static int |
MOUSE_WHEEL |
static int |
NOBUTTON |
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
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()
Copyright © 2020. All rights reserved.