org.fest.swing.util
Class RobotFactory

java.lang.Object
  extended by org.fest.swing.util.RobotFactory

public class RobotFactory
extends Object

Understands creation of AWT Robots.

Author:
Alex Ruiz

Constructor Summary
RobotFactory()
           
 
Method Summary
 Robot newRobotInPrimaryScreen()
          Constructs a Robot object in the coordinate system of the primary screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotFactory

public RobotFactory()
Method Detail

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.