Class Robot
public class Robot : JVMBridgeBase<Robot>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Robot
- Implements
- Inherited Members
- Extension Methods
Constructors
Robot()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Robot()
Robot(GraphicsDevice)
public Robot(GraphicsDevice arg0)
Parameters
Exceptions
Robot(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Robot(params object[] args)
Parameters
args
object[]
Properties
AutoDelay
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Robot.html#getAutoDelay() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Robot.html#setAutoDelay(int)
public int AutoDelay { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
CreateMultiResolutionScreenCapture(Rectangle)
public MultiResolutionImage CreateMultiResolutionScreenCapture(Rectangle arg0)
Parameters
Returns
CreateScreenCapture(Rectangle)
public BufferedImage CreateScreenCapture(Rectangle arg0)
Parameters
Returns
Delay(int)
public void Delay(int arg0)
Parameters
GetPixelColor(int, int)
public Color GetPixelColor(int arg0, int arg1)
Parameters
Returns
IsAutoWaitForIdle()
public bool IsAutoWaitForIdle()
Returns
KeyPress(int)
public void KeyPress(int arg0)
Parameters
KeyRelease(int)
public void KeyRelease(int arg0)
Parameters
MouseMove(int, int)
public void MouseMove(int arg0, int arg1)
Parameters
MousePress(int)
public void MousePress(int arg0)
Parameters
MouseRelease(int)
public void MouseRelease(int arg0)
Parameters
MouseWheel(int)
public void MouseWheel(int arg0)
Parameters
SetAutoWaitForIdle(bool)
public void SetAutoWaitForIdle(bool arg0)
Parameters
WaitForIdle()
public void WaitForIdle()