org.fest.swing.util
Class RobotFactory
java.lang.Object
org.fest.swing.util.RobotFactory
public class RobotFactory
- extends Object
Understands creation of AWT Robot
s.
- Author:
- Alex Ruiz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RobotFactory
public RobotFactory()
newRobotInPrimaryScreen
public Robot newRobotInPrimaryScreen()
throws AWTException
- Constructs a
Robot
object in the coordinate system of the primary screen.
- Returns:
- the created
Robot
.
- Throws:
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 © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.