Lines Matching refs:robot
104 private static void rmove(Robot robot, Point p) {
105 robot.mouseMove(p.x, p.y);
107 private static void rdown(Robot robot) {
108 robot.mousePress(InputEvent.BUTTON1_MASK);
109 robot.delay(50);
111 private static void rup(Robot robot) {
112 robot.mouseRelease(InputEvent.BUTTON1_MASK);
113 robot.delay(50);
116 public static void click(Robot robot) {
117 rdown(robot);
118 rup(robot);
121 public static void doubleClick(Robot robot) {
122 click(robot);
123 click(robot);
126 private static void dragWindow(Window w, int dx, int dy, Robot robot) {
128 rmove(robot, p);
129 rdown(robot);
131 rmove(robot, p);
132 rup(robot);
137 Thread robot = new Thread(new Runnable() {
157 return robot;