public class RobotKeyEvent
extends java.lang.Object
InputKeysParser
,
Robot
Modifier and Type | Field and Description |
---|---|
static int |
KEY_PRESS |
static int |
KEY_RELEASE |
static int |
KEY_TYPE |
Constructor and Description |
---|
RobotKeyEvent(int event,
int keycode) |
Modifier and Type | Method and Description |
---|---|
void |
doEvent(java.awt.Robot robot,
int ms_delay) |
static void |
doKeystrokes(java.util.Vector keystrokes,
java.awt.Robot robot,
int ms_delay)
Execute multiple RobotKeyEvent keystrokes sequentially.
|
boolean |
equals(java.lang.Object event) |
int |
get_event() |
int |
get_keycode() |
java.lang.String |
toString() |
public static final int KEY_PRESS
public static final int KEY_RELEASE
public static final int KEY_TYPE
public void doEvent(java.awt.Robot robot, int ms_delay)
public int get_keycode()
public int get_event()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object event)
equals
in class java.lang.Object
public static void doKeystrokes(java.util.Vector keystrokes, java.awt.Robot robot, int ms_delay)
keystrokes
- Vector of RobotKeyEvent objects to be typed in sequencerobot
- java.awt.Robot to use for typing.ms_delay
- delay tp use between keystrokesCopyright © SAS Institute. All Rights Reserved.