This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.awt.peer
interface RobotPeer


public interface RobotPeer

RobotPeer defines an interface whereby toolkits support automated testing by allowing native input events to be generated from Java code. This interface should not be directly imported by code outside the java.awt.* hierarchy; it is not to be considered public and is subject to change.


Method Summary
 int
getRGBPixel(int x, int y)

          
 int[]

          
 void
keyPress(int keycode)

          
 void
keyRelease(int keycode)

          
 void
mouseMove(int x, int y)

          
 void
mousePress(int buttons)

          
 void
mouseRelease(int buttons)

          
 void
mouseWheel(int wheelAmt)

          
 

Method Detail

getRGBPixel

public int getRGBPixel(int x,
                       int y)
Parameters:
x
y

getRGBPixels

public int[] getRGBPixels(Rectangle bounds)
Parameters:
bounds

keyPress

public void keyPress(int keycode)
Parameters:
keycode

keyRelease

public void keyRelease(int keycode)
Parameters:
keycode

mouseMove

public void mouseMove(int x,
                      int y)
Parameters:
x
y

mousePress

public void mousePress(int buttons)
Parameters:
buttons

mouseRelease

public void mouseRelease(int buttons)
Parameters:
buttons

mouseWheel

public void mouseWheel(int wheelAmt)
Parameters:
wheelAmt


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.