mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
2003-03-24 Michael Koch <koqnueror@gmx.de>
* java/awt/ContainerOrderFocusTraversalPolicy.java (getFirstComponent): Implemented. (getLastComponent): Implemented. (getDefaultComponent): Implemented. (setImplicitDownCycleTraversal): Fixed implementation. * java/awt/Robot.java (Robot): Added documentation. * java/awt/Toolkit.java (getFontList): Deprecated. (getFontMetrics): Deprecated. (getPrintJob): Added documentation. (getSystemSelection): Added documentation. (getLockingKeyState): Added documentation. (setLockingKeyState): Added documentation. (createCustomCursor): Added documentation. (getBestCursorSize): Added documentation. (getMaximumCursorColors): Added documentation. (isFrameStateSupported): Added documentation. From-SVN: r64798
This commit is contained in:
committed by
Michael Koch
parent
3d6431d724
commit
050d3e13d8
@@ -45,66 +45,98 @@ public class Robot
|
||||
{
|
||||
private boolean waitForIdle;
|
||||
private int autoDelay;
|
||||
|
||||
/**
|
||||
* Creates a <code>Robot</code> object.
|
||||
*
|
||||
* @exception AWTException If GraphicsEnvironment.isHeadless() returns true.
|
||||
* @exception SecurityException If createRobot permission is not granted.
|
||||
*/
|
||||
public Robot() throws AWTException
|
||||
{
|
||||
throw new Error("not implemented");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a <code>Robot</code> object.
|
||||
*
|
||||
* @exception AWTException If GraphicsEnvironment.isHeadless() returns true.
|
||||
* @exception IllegalArgumentException If <code>screen</code> is not a screen
|
||||
* GraphicsDevice.
|
||||
* @exception SecurityException If createRobot permission is not granted.
|
||||
*/
|
||||
public Robot(GraphicsDevice screen) throws AWTException
|
||||
{
|
||||
this();
|
||||
}
|
||||
|
||||
public void mouseMove(int x, int y)
|
||||
{
|
||||
}
|
||||
|
||||
public void mousePress(int buttons)
|
||||
{
|
||||
}
|
||||
|
||||
public void mouseRelease(int buttons)
|
||||
{
|
||||
}
|
||||
|
||||
public void mouseWheel(int wheelAmt)
|
||||
{
|
||||
}
|
||||
|
||||
public void keyPress(int keycode)
|
||||
{
|
||||
}
|
||||
|
||||
public void keyRelease(int keycode)
|
||||
{
|
||||
}
|
||||
|
||||
public Color getPixelColor(int x, int y)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public BufferedImage createScreenCapture(Rectangle screen)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean isAutoWaitForIdle()
|
||||
{
|
||||
return waitForIdle;
|
||||
}
|
||||
|
||||
public void setAutoWaitForIdle(boolean value)
|
||||
{
|
||||
waitForIdle = value;
|
||||
}
|
||||
|
||||
public int getAutoDelay()
|
||||
{
|
||||
return autoDelay;
|
||||
}
|
||||
|
||||
public void setAutoDelay(int ms)
|
||||
{
|
||||
if (ms < 0 || ms > 60000)
|
||||
throw new IllegalArgumentException();
|
||||
|
||||
autoDelay = ms;
|
||||
}
|
||||
|
||||
public void delay(int ms)
|
||||
{
|
||||
if (ms < 0 || ms > 60000)
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
|
||||
public void waitForIdle()
|
||||
{
|
||||
}
|
||||
|
||||
public String toString()
|
||||
{
|
||||
return "unimplemented";
|
||||
|
||||
Reference in New Issue
Block a user