53 |
* create self-running demo programs. |
* create self-running demo programs. |
54 |
* |
* |
55 |
* Since Robot generates native windowing system events, rather than |
* Since Robot generates native windowing system events, rather than |
56 |
* simply inserting {@link AWTEvents} on the AWT event queue, its use |
* simply inserting {@link AWTEvent}s on the AWT event queue, its use |
57 |
* is not restricted to Java programs. It can be used to |
* is not restricted to Java programs. It can be used to |
58 |
* programatically drive any graphical application. |
* programatically drive any graphical application. |
59 |
* |
* |
227 |
/** |
/** |
228 |
* Press a key. |
* Press a key. |
229 |
* |
* |
230 |
* @param keycode key to press, a {@link KeyEvent} VK_ constant |
* @param keycode key to press, a {@link java.awt.event.KeyEvent} VK_ constant |
231 |
* |
* |
232 |
* @exception IllegalArgumentException if keycode is not a valid key |
* @exception IllegalArgumentException if keycode is not a valid key |
233 |
*/ |
*/ |
245 |
/** |
/** |
246 |
* Release a key. |
* Release a key. |
247 |
* |
* |
248 |
* @param keycode key to release, a {@link KeyEvent} VK_ constant |
* @param keycode key to release, a {@link java.awt.event.KeyEvent} VK_ |
249 |
|
* constant |
250 |
* |
* |
251 |
* @exception IllegalArgumentException if keycode is not a valid key |
* @exception IllegalArgumentException if keycode is not a valid key |
252 |
*/ |
*/ |
313 |
} |
} |
314 |
|
|
315 |
/** |
/** |
316 |
* Check if this Robot automatically calls {@link waitForIdle} after |
* Check if this Robot automatically calls {@link #waitForIdle()} after |
317 |
* generating an event. |
* generating an event. |
318 |
* |
* |
319 |
* @return true if waitForIdle is automatically called |
* @return true if waitForIdle is automatically called |
325 |
|
|
326 |
/** |
/** |
327 |
* Set whether or not this Robot automatically calls {@link |
* Set whether or not this Robot automatically calls {@link |
328 |
* waitForIdle} after generating an event. |
* #waitForIdle()} after generating an event. |
329 |
* |
* |
330 |
* @param isOn true if waitForIdle should be called automatically |
* @param isOn true if waitForIdle should be called automatically |
331 |
*/ |
*/ |