public final class javafx.scene.robot.Robot
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.scene.robot.Robot
super_class: java.lang.Object
{
private final com.sun.glass.ui.GlassRobot peer;
descriptor: Lcom/sun/glass/ui/GlassRobot;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
getstatic com.sun.javafx.FXPermissions.CREATE_ROBOT_PERMISSION:Ljavafx/util/FXPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: javafx.scene.robot.Robot java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.createRobot:()Lcom/sun/glass/ui/GlassRobot;
putfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
6: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
invokevirtual com.sun.glass.ui.GlassRobot.create:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/robot/Robot;
3 8 1 sm Ljava/lang/SecurityManager;
public void keyPress(javafx.scene.input.KeyCode);
descriptor: (Ljavafx/scene/input/KeyCode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "keyCode must not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
aload 1
invokevirtual com.sun.glass.ui.GlassRobot.keyPress:(Ljavafx/scene/input/KeyCode;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/robot/Robot;
0 3 1 keyCode Ljavafx/scene/input/KeyCode;
MethodParameters:
Name Flags
keyCode
public void keyRelease(javafx.scene.input.KeyCode);
descriptor: (Ljavafx/scene/input/KeyCode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "keyCode must not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
aload 1
invokevirtual com.sun.glass.ui.GlassRobot.keyRelease:(Ljavafx/scene/input/KeyCode;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/robot/Robot;
0 3 1 keyCode Ljavafx/scene/input/KeyCode;
MethodParameters:
Name Flags
keyCode
public void keyType(javafx.scene.input.KeyCode);
descriptor: (Ljavafx/scene/input/KeyCode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "keyCode must not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual javafx.scene.robot.Robot.keyPress:(Ljavafx/scene/input/KeyCode;)V
2: aload 0
aload 1
invokevirtual javafx.scene.robot.Robot.keyRelease:(Ljavafx/scene/input/KeyCode;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/robot/Robot;
0 4 1 keyCode Ljavafx/scene/input/KeyCode;
MethodParameters:
Name Flags
keyCode
public double getMouseX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
invokevirtual com.sun.glass.ui.GlassRobot.getMouseX:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/robot/Robot;
public double getMouseY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
invokevirtual com.sun.glass.ui.GlassRobot.getMouseY:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/robot/Robot;
public javafx.geometry.Point2D getMousePosition();
descriptor: ()Ljavafx/geometry/Point2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new javafx.geometry.Point2D
dup
aload 0
invokevirtual javafx.scene.robot.Robot.getMouseX:()D
aload 0
invokevirtual javafx.scene.robot.Robot.getMouseY:()D
invokespecial javafx.geometry.Point2D.<init>:(DD)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/robot/Robot;
public void mouseMove(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
dload 1
dload 3
invokevirtual com.sun.glass.ui.GlassRobot.mouseMove:(DD)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/robot/Robot;
0 2 1 x D
0 2 3 y D
MethodParameters:
Name Flags
x
y
public final void mouseMove(javafx.geometry.Point2D);
descriptor: (Ljavafx/geometry/Point2D;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual javafx.geometry.Point2D.getX:()D
aload 1
invokevirtual javafx.geometry.Point2D.getY:()D
invokevirtual javafx.scene.robot.Robot.mouseMove:(DD)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/robot/Robot;
0 3 1 location Ljavafx/geometry/Point2D;
MethodParameters:
Name Flags
location
public void mousePress(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "buttons must not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
aload 1
invokevirtual com.sun.glass.ui.GlassRobot.mousePress:([Ljavafx/scene/input/MouseButton;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/robot/Robot;
0 3 1 buttons [Ljavafx/scene/input/MouseButton;
MethodParameters:
Name Flags
buttons
public void mouseRelease(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "buttons must not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
aload 1
invokevirtual com.sun.glass.ui.GlassRobot.mouseRelease:([Ljavafx/scene/input/MouseButton;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/robot/Robot;
0 3 1 buttons [Ljavafx/scene/input/MouseButton;
MethodParameters:
Name Flags
buttons
public void mouseClick(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "buttons must not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual javafx.scene.robot.Robot.mousePress:([Ljavafx/scene/input/MouseButton;)V
2: aload 0
aload 1
invokevirtual javafx.scene.robot.Robot.mouseRelease:([Ljavafx/scene/input/MouseButton;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/robot/Robot;
0 4 1 buttons [Ljavafx/scene/input/MouseButton;
MethodParameters:
Name Flags
buttons
public void mouseWheel(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
iload 1
invokevirtual com.sun.glass.ui.GlassRobot.mouseWheel:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/robot/Robot;
0 2 1 wheelAmt I
MethodParameters:
Name Flags
wheelAmt
public javafx.scene.paint.Color getPixelColor(double, double);
descriptor: (DD)Ljavafx/scene/paint/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
dload 1
dload 3
invokevirtual com.sun.glass.ui.GlassRobot.getPixelColor:(DD)Ljavafx/scene/paint/Color;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/robot/Robot;
0 1 1 x D
0 1 3 y D
MethodParameters:
Name Flags
x
y
public javafx.scene.paint.Color getPixelColor(javafx.geometry.Point2D);
descriptor: (Ljavafx/geometry/Point2D;)Ljavafx/scene/paint/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javafx.geometry.Point2D.getX:()D
aload 1
invokevirtual javafx.geometry.Point2D.getY:()D
invokevirtual javafx.scene.robot.Robot.getPixelColor:(DD)Ljavafx/scene/paint/Color;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/robot/Robot;
0 1 1 location Ljavafx/geometry/Point2D;
MethodParameters:
Name Flags
location
public javafx.scene.image.WritableImage getScreenCapture(javafx.scene.image.WritableImage, double, double, double, double, boolean);
descriptor: (Ljavafx/scene/image/WritableImage;DDDDZ)Ljavafx/scene/image/WritableImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 4 start local 6 start local 8 start local 10 0: aload 0
getfield javafx.scene.robot.Robot.peer:Lcom/sun/glass/ui/GlassRobot;
aload 1
dload 2
dload 4
dload 6
dload 8
iload 10
invokevirtual com.sun.glass.ui.GlassRobot.getScreenCapture:(Ljavafx/scene/image/WritableImage;DDDDZ)Ljavafx/scene/image/WritableImage;
areturn
end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/robot/Robot;
0 1 1 image Ljavafx/scene/image/WritableImage;
0 1 2 x D
0 1 4 y D
0 1 6 width D
0 1 8 height D
0 1 10 scaleToFit Z
MethodParameters:
Name Flags
image
x
y
width
height
scaleToFit
public javafx.scene.image.WritableImage getScreenCapture(javafx.scene.image.WritableImage, double, double, double, double);
descriptor: (Ljavafx/scene/image/WritableImage;DDDD)Ljavafx/scene/image/WritableImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 6 start local 8 0: aload 0
aload 1
dload 2
dload 4
dload 6
dload 8
iconst_1
invokevirtual javafx.scene.robot.Robot.getScreenCapture:(Ljavafx/scene/image/WritableImage;DDDDZ)Ljavafx/scene/image/WritableImage;
areturn
end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/robot/Robot;
0 1 1 image Ljavafx/scene/image/WritableImage;
0 1 2 x D
0 1 4 y D
0 1 6 width D
0 1 8 height D
MethodParameters:
Name Flags
image
x
y
width
height
public javafx.scene.image.WritableImage getScreenCapture(javafx.scene.image.WritableImage, javafx.geometry.Rectangle2D);
descriptor: (Ljavafx/scene/image/WritableImage;Ljavafx/geometry/Rectangle2D;)Ljavafx/scene/image/WritableImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
aload 2
invokevirtual javafx.geometry.Rectangle2D.getMinX:()D
aload 2
invokevirtual javafx.geometry.Rectangle2D.getMinY:()D
2: aload 2
invokevirtual javafx.geometry.Rectangle2D.getWidth:()D
aload 2
invokevirtual javafx.geometry.Rectangle2D.getHeight:()D
iconst_1
3: invokevirtual javafx.scene.robot.Robot.getScreenCapture:(Ljavafx/scene/image/WritableImage;DDDDZ)Ljavafx/scene/image/WritableImage;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/robot/Robot;
0 4 1 image Ljavafx/scene/image/WritableImage;
0 4 2 region Ljavafx/geometry/Rectangle2D;
MethodParameters:
Name Flags
image
region
public javafx.scene.image.WritableImage getScreenCapture(javafx.scene.image.WritableImage, javafx.geometry.Rectangle2D, boolean);
descriptor: (Ljavafx/scene/image/WritableImage;Ljavafx/geometry/Rectangle2D;Z)Ljavafx/scene/image/WritableImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
aload 2
invokevirtual javafx.geometry.Rectangle2D.getMinX:()D
aload 2
invokevirtual javafx.geometry.Rectangle2D.getMinY:()D
2: aload 2
invokevirtual javafx.geometry.Rectangle2D.getWidth:()D
aload 2
invokevirtual javafx.geometry.Rectangle2D.getHeight:()D
iload 3
3: invokevirtual javafx.scene.robot.Robot.getScreenCapture:(Ljavafx/scene/image/WritableImage;DDDDZ)Ljavafx/scene/image/WritableImage;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/robot/Robot;
0 4 1 image Ljavafx/scene/image/WritableImage;
0 4 2 region Ljavafx/geometry/Rectangle2D;
0 4 3 scaleToFit Z
MethodParameters:
Name Flags
image
region
scaleToFit
}
SourceFile: "Robot.java"