< prev index next >

src/java.desktop/share/classes/java/awt/peer/RobotPeer.java

Print this page
rev 17491 : robot unicode keys - pass 2

@@ -93,10 +93,28 @@
      * @see Robot#keyRelease(int)
      */
     void keyRelease(int keycode);
 
     /**
+     * Simulates a key press of the specified unicode key.
+     *
+     * @param key unicode to press
+     *
+     * @see Robot#keyPressUnicode(int)
+     */
+    void keyPressUnicode(int key);
+
+    /**
+     * Simulates a key release of the specified unicode key.
+     *
+     * @param key unicode to release
+     *
+     * @see Robot#keyReleaseUnicode(int)
+     */
+    void keyReleaseUnicode(int key);
+
+    /**
      * Gets the RGB value of the specified pixel on screen.
      *
      * @param x the X screen coordinate
      * @param y the Y screen coordinate
      *
< prev index next >