public class AWTRobotInputFactory extends Object implements ControlInterfaceFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
OTHER_VM_CONNECTION_TIMEOUT_PROPERTY
Set this Environment property to to the maximum time of waiting for the
client to connect to the JVM where Robot is running.
|
static String |
OTHER_VM_HOST_PROPERTY
Set this Environment property to the name of the host where other JVM runs.
|
static String |
OTHER_VM_PORT_PROPERTY
Set this Environment property to override the port which is used to
connect to other JVM
|
static String |
OTHER_VM_PROPERTY
Set this Environment property to true or false to run java.awt.Robot in
other or the same JVM
|
static String |
ROBOT_DELAY_TIMEOUT_NAME
The name of the timeout that is used by default as the delay time for
java.awt.Robot
|
static String |
ROBOT_MOUSE_SMOOTHNESS_PROPERTY
Set this Environment property to the maximum number of pixels between
mouse positions during movement
|
| Constructor and Description |
|---|
AWTRobotInputFactory() |
| Modifier and Type | Method and Description |
|---|---|
<INTERFACE extends ControlInterface> |
create(Wrap<?> control,
Class<INTERFACE> interfaceClass) |
<TYPE,INTERFACE extends TypeControlInterface<TYPE>> |
create(Wrap<?> control,
Class<INTERFACE> interfaceClass,
Class<TYPE> type) |
AWTMap |
getAwtMap() |
static int |
getMouseSmoothness()
Gets the mouse movements smoothness
|
static boolean |
isRunInOtherJVM()
Returns runInOtherJVM setting
|
static void |
runInOtherJVM(boolean runInOtherJVM)
Specifies whether to run java.awt.Robot in other JVM
|
void |
setAwtMap(AWTMap awtMap) |
static void |
setMouseSmoothness(int mouseSmoothness)
Specifies mouse movements smoothness
|
String |
toString() |
public static final String OTHER_VM_PROPERTY
public static final String OTHER_VM_HOST_PROPERTY
public static final String OTHER_VM_PORT_PROPERTY
public static final String OTHER_VM_CONNECTION_TIMEOUT_PROPERTY
public static final String ROBOT_DELAY_TIMEOUT_NAME
Robot.setAutoDelay(int),
Constant Field Valuespublic static final String ROBOT_MOUSE_SMOOTHNESS_PROPERTY
public static void runInOtherJVM(boolean runInOtherJVM)
runInOtherJVM - if true then java.awt.Robot will run in other JVMpublic static boolean isRunInOtherJVM()
public static void setMouseSmoothness(int mouseSmoothness)
mouseSmoothness - the maximum number of pixels between
mouse positions during movementROBOT_MOUSE_SMOOTHNESS_PROPERTYpublic static int getMouseSmoothness()
ROBOT_MOUSE_SMOOTHNESS_PROPERTYpublic AWTMap getAwtMap()
public void setAwtMap(AWTMap awtMap)
public <INTERFACE extends ControlInterface> INTERFACE create(Wrap<?> control, Class<INTERFACE> interfaceClass)
create in interface ControlInterfaceFactorypublic <TYPE,INTERFACE extends TypeControlInterface<TYPE>> INTERFACE create(Wrap<?> control, Class<INTERFACE> interfaceClass, Class<TYPE> type)
create in interface ControlInterfaceFactoryCopyright © 2018. All rights reserved.