public class RobotFactory extends Object
Robots.| Constructor and Description |
|---|
RobotFactory() |
| Modifier and Type | Method and Description |
|---|---|
Robot |
newRobotInPrimaryScreen()
Creates a new AWT
Robot object in the coordinate system of the primary screen. |
@Nonnull public Robot newRobotInPrimaryScreen() throws AWTException
Robot object in the coordinate system of the primary screen.Robot.AWTException - if the platform configuration does not allow low-level input control. This exception is always
thrown when GraphicsEnvironment.isHeadless() returns true.SecurityException - if createRobot permission is not granted.Copyright © 2014 AssertJ. All rights reserved.