final class com.sun.glass.ui.mac.MacRobot extends com.sun.glass.ui.GlassRobot
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.mac.MacRobot
super_class: com.sun.glass.ui.GlassRobot
{
private long ptr;
descriptor: J
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.glass.ui.GlassRobot.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacRobot;
private native long _init();
descriptor: ()J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public void create();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
aload 0
invokevirtual com.sun.glass.ui.mac.MacRobot._init:()J
putfield com.sun.glass.ui.mac.MacRobot.ptr:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacRobot;
private native void _destroy(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
lconst_0
lcmp
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
invokevirtual com.sun.glass.ui.mac.MacRobot._destroy:(J)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacRobot;
protected native void _keyPress(int);
descriptor: (I)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
code
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: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
aload 1
invokevirtual javafx.scene.input.KeyCode.getCode:()I
invokevirtual com.sun.glass.ui.mac.MacRobot._keyPress:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 3 1 code Ljavafx/scene/input/KeyCode;
MethodParameters:
Name Flags
code
protected native void _keyRelease(int);
descriptor: (I)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
code
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: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
aload 1
invokevirtual javafx.scene.input.KeyCode.getCode:()I
invokevirtual com.sun.glass.ui.mac.MacRobot._keyRelease:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 3 1 code Ljavafx/scene/input/KeyCode;
MethodParameters:
Name Flags
code
private native void _mouseMove(long, float, float);
descriptor: (JFF)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
x
y
public void mouseMove(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 3 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
lconst_0
lcmp
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
dload 1
d2f
dload 3
d2f
invokevirtual com.sun.glass.ui.mac.MacRobot._mouseMove:(JFF)V
4: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 5 1 x D
0 5 3 y D
MethodParameters:
Name Flags
x
y
private native void _mousePress(long, int);
descriptor: (JI)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
buttons
public void mousePress(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
lconst_0
lcmp
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
aload 1
invokestatic com.sun.glass.ui.GlassRobot.convertToRobotMouseButton:([Ljavafx/scene/input/MouseButton;)I
invokevirtual com.sun.glass.ui.mac.MacRobot._mousePress:(JI)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 5 1 buttons [Ljavafx/scene/input/MouseButton;
MethodParameters:
Name Flags
buttons
private native void _mouseRelease(long, int);
descriptor: (JI)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
buttons
public void mouseRelease(javafx.scene.input.MouseButton[]);
descriptor: ([Ljavafx/scene/input/MouseButton;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
lconst_0
lcmp
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
aload 1
invokestatic com.sun.glass.ui.GlassRobot.convertToRobotMouseButton:([Ljavafx/scene/input/MouseButton;)I
invokevirtual com.sun.glass.ui.mac.MacRobot._mouseRelease:(JI)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 5 1 buttons [Ljavafx/scene/input/MouseButton;
MethodParameters:
Name Flags
buttons
protected native void _mouseWheel(int);
descriptor: (I)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
wheelAmt
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: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
iload 1
invokevirtual com.sun.glass.ui.mac.MacRobot._mouseWheel:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 3 1 wheelAmt I
MethodParameters:
Name Flags
wheelAmt
private native float _getMouseX(long);
descriptor: (J)F
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public double getMouseX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
lconst_0
lcmp
ifne 3
2: dconst_0
dreturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
invokevirtual com.sun.glass.ui.mac.MacRobot._getMouseX:(J)F
f2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/mac/MacRobot;
private native float _getMouseY(long);
descriptor: (J)F
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public double getMouseY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
lconst_0
lcmp
ifne 3
2: dconst_0
dreturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.mac.MacRobot.ptr:J
invokevirtual com.sun.glass.ui.mac.MacRobot._getMouseY:(J)F
f2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/mac/MacRobot;
protected native int _getPixelColor(double, double);
descriptor: (DD)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
x
y
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: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: aload 0
dload 1
dload 3
invokevirtual com.sun.glass.ui.mac.MacRobot._getPixelColor:(DD)I
invokestatic com.sun.glass.ui.GlassRobot.convertFromIntArgb:(I)Ljavafx/scene/paint/Color;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 2 1 x D
0 2 3 y D
MethodParameters:
Name Flags
x
y
protected native com.sun.glass.ui.Pixels _getScreenCapture(int, int, int, int, boolean);
descriptor: (IIIIZ)Lcom/sun/glass/ui/Pixels;
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
x
y
width
height
scaleToFit
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=6, locals=12, 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: invokestatic com.sun.glass.ui.Application.checkEventThread:()V
1: dload 6
dconst_0
dcmpg
ifgt 3
2: new java.lang.IllegalArgumentException
dup
ldc "width must be > 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
dload 8
dconst_0
dcmpg
ifgt 5
4: new java.lang.IllegalArgumentException
dup
ldc "height must be > 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
dload 2
d2i
dload 4
d2i
dload 6
d2i
dload 8
d2i
iload 10
invokevirtual com.sun.glass.ui.mac.MacRobot._getScreenCapture:(IIIIZ)Lcom/sun/glass/ui/Pixels;
astore 11
start local 11 6: aload 1
aload 11
invokestatic com.sun.glass.ui.mac.MacRobot.convertFromPixels:(Ljavafx/scene/image/WritableImage;Lcom/sun/glass/ui/Pixels;)Ljavafx/scene/image/WritableImage;
areturn
end local 11 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 7 0 this Lcom/sun/glass/ui/mac/MacRobot;
0 7 1 image Ljavafx/scene/image/WritableImage;
0 7 2 x D
0 7 4 y D
0 7 6 width D
0 7 8 height D
0 7 10 scaleToFit Z
6 7 11 pixels Lcom/sun/glass/ui/Pixels;
MethodParameters:
Name Flags
image
x
y
width
height
scaleToFit
}
SourceFile: "MacRobot.java"