public final class WCKeyEvent extends Object
Modifier and Type | Field and Description |
---|---|
static int |
KEY_PRESSED |
static int |
KEY_RELEASED |
static int |
KEY_TYPED |
static int |
VK_BACK |
static int |
VK_DELETE |
static int |
VK_DOWN |
static int |
VK_END |
static int |
VK_ESCAPE |
static int |
VK_HOME |
static int |
VK_INSERT |
static int |
VK_LEFT |
static int |
VK_NEXT |
static int |
VK_OEM_PERIOD |
static int |
VK_PRIOR |
static int |
VK_RETURN |
static int |
VK_RIGHT |
static int |
VK_TAB |
static int |
VK_UP |
Constructor and Description |
---|
WCKeyEvent(int type,
String text,
String keyIdentifier,
int windowsVirtualKeyCode,
boolean shift,
boolean ctrl,
boolean alt,
boolean meta,
long when) |
Modifier and Type | Method and Description |
---|---|
static boolean |
filterEvent(WCKeyEvent ke) |
String |
getKeyIdentifier() |
String |
getText() |
int |
getType() |
long |
getWhen() |
int |
getWindowsVirtualKeyCode() |
boolean |
isAltDown() |
boolean |
isCtrlDown() |
boolean |
isMetaDown() |
boolean |
isShiftDown() |
@Native public static final int KEY_TYPED
@Native public static final int KEY_PRESSED
@Native public static final int KEY_RELEASED
@Native public static final int VK_BACK
@Native public static final int VK_TAB
@Native public static final int VK_RETURN
@Native public static final int VK_ESCAPE
@Native public static final int VK_PRIOR
@Native public static final int VK_NEXT
@Native public static final int VK_END
@Native public static final int VK_HOME
@Native public static final int VK_LEFT
@Native public static final int VK_UP
@Native public static final int VK_RIGHT
@Native public static final int VK_DOWN
@Native public static final int VK_INSERT
@Native public static final int VK_DELETE
@Native public static final int VK_OEM_PERIOD
public int getType()
public long getWhen()
public String getText()
public String getKeyIdentifier()
public int getWindowsVirtualKeyCode()
public boolean isShiftDown()
public boolean isCtrlDown()
public boolean isAltDown()
public boolean isMetaDown()
public static boolean filterEvent(WCKeyEvent ke)
Copyright © 2020. All rights reserved.