< prev index next >

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

Print this page

        

*** 93,102 **** --- 93,120 ---- * @see Robot#keyRelease(int) */ void keyRelease(int keycode); /** + * Simulates a key press of the specified unicode key. + * + * @param unicodeKey unicode key to press + * + * @see Robot#keyPressUnicode(int) + */ + void keyPressUnicode(int unicodeKey); + + /** + * Simulates a key release of the specified unicode key. + * + * @param unicodeKey unicode key to release + * + * @see Robot#keyReleaseUnicode(int) + */ + void keyReleaseUnicode(int unicodeKey); + + /** * 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 >