aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/Robot.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-03-24 13:50:32 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-03-24 13:50:32 +0000
commit050d3e13d8b3ca7f26c017aa98e32cd86653bed4 (patch)
treefe092331f090ab7028ada88711937e3affcc3050 /libjava/java/awt/Robot.java
parent3d6431d724aade8b479a5fc7864bd9bd4a855ef7 (diff)
downloadgcc-050d3e13d8b3ca7f26c017aa98e32cd86653bed4.zip
gcc-050d3e13d8b3ca7f26c017aa98e32cd86653bed4.tar.gz
gcc-050d3e13d8b3ca7f26c017aa98e32cd86653bed4.tar.bz2
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
Diffstat (limited to 'libjava/java/awt/Robot.java')
-rw-r--r--libjava/java/awt/Robot.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/libjava/java/awt/Robot.java b/libjava/java/awt/Robot.java
index 1de5f3f..cc0ab15 100644
--- a/libjava/java/awt/Robot.java
+++ b/libjava/java/awt/Robot.java
@@ -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";