summaryrefslogtreecommitdiffstats
path: root/libjava/java/awt/Robot.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-24 13:50:32 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-24 13:50:32 +0000
commit8615131276560de9b83c14444eebd74bd9848e82 (patch)
treefe092331f090ab7028ada88711937e3affcc3050 /libjava/java/awt/Robot.java
parent61e394c6ab4f7f76c565f9784266a5899b22ce90 (diff)
downloadppe42-gcc-8615131276560de9b83c14444eebd74bd9848e82.tar.gz
ppe42-gcc-8615131276560de9b83c14444eebd74bd9848e82.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64798 138bc75d-0d04-0410-961f-82ee72b054a4
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 1de5f3f3706..cc0ab15c6e9 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";
OpenPOWER on IntegriCloud