public class com.sun.javafx.embed.swing.SwingCursors
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.embed.swing.SwingCursors
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$com$sun$javafx$cursor$CursorType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/embed/swing/SwingCursors;
private static java.awt.Cursor createCustomCursor(com.sun.javafx.cursor.ImageCursorFrame);
descriptor: (Lcom/sun/javafx/cursor/ImageCursorFrame;)Ljava/awt/Cursor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=13, args_size=1
start local 0 0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 1
start local 1 1: aload 0
invokevirtual com.sun.javafx.cursor.ImageCursorFrame.getWidth:()D
dstore 2
start local 2 2: aload 0
invokevirtual com.sun.javafx.cursor.ImageCursorFrame.getHeight:()D
dstore 4
start local 4 3: aload 1
dload 2
d2i
dload 4
d2i
invokevirtual java.awt.Toolkit.getBestCursorSize:(II)Ljava/awt/Dimension;
astore 6
start local 6 4: aload 0
invokevirtual com.sun.javafx.cursor.ImageCursorFrame.getHotspotX:()D
aload 6
invokevirtual java.awt.Dimension.getWidth:()D
dmul
dload 2
ddiv
dstore 7
start local 7 5: aload 0
invokevirtual com.sun.javafx.cursor.ImageCursorFrame.getHotspotY:()D
aload 6
invokevirtual java.awt.Dimension.getHeight:()D
dmul
dload 4
ddiv
dstore 9
start local 9 6: new java.awt.Point
dup
dload 7
d2i
dload 9
d2i
invokespecial java.awt.Point.<init>:(II)V
astore 11
start local 11 7: invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 0
invokevirtual com.sun.javafx.cursor.ImageCursorFrame.getPlatformImage:()Ljava/lang/Object;
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.fromPlatformImage:(Ljava/lang/Object;)Ljavafx/scene/image/Image;
aconst_null
8: invokestatic javafx.embed.swing.SwingFXUtils.fromFXImage:(Ljavafx/scene/image/Image;Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;
astore 12
start local 12 9: aload 1
aload 12
aload 11
aconst_null
invokevirtual java.awt.Toolkit.createCustomCursor:(Ljava/awt/Image;Ljava/awt/Point;Ljava/lang/String;)Ljava/awt/Cursor;
areturn
end local 12 end local 11 end local 9 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 cursorFrame Lcom/sun/javafx/cursor/ImageCursorFrame;
1 10 1 awtToolkit Ljava/awt/Toolkit;
2 10 2 imageWidth D
3 10 4 imageHeight D
4 10 6 nativeSize Ljava/awt/Dimension;
5 10 7 scaledHotspotX D
6 10 9 scaledHotspotY D
7 10 11 hotspot Ljava/awt/Point;
9 10 12 awtImage Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
cursorFrame
public static java.awt.Cursor embedCursorToCursor(com.sun.javafx.cursor.CursorFrame);
descriptor: (Lcom/sun/javafx/cursor/CursorFrame;)Ljava/awt/Cursor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.javafx.embed.swing.SwingCursors.$SWITCH_TABLE$com$sun$javafx$cursor$CursorType:()[I
aload 0
invokevirtual com.sun.javafx.cursor.CursorFrame.getCursorType:()Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
iaload
tableswitch { // 1 - 21
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 13
15: 13
16: 14
17: 15
18: 11
19: 9
20: 16
21: 17
default: 18
}
1: StackMap locals:
StackMap stack:
iconst_0
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
2: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
3: StackMap locals:
StackMap stack:
iconst_2
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
4: StackMap locals:
StackMap stack:
iconst_3
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
5: StackMap locals:
StackMap stack:
iconst_4
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
6: StackMap locals:
StackMap stack:
iconst_5
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
7: StackMap locals:
StackMap stack:
bipush 6
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
8: StackMap locals:
StackMap stack:
bipush 7
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
9: StackMap locals:
StackMap stack:
bipush 8
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
10: StackMap locals:
StackMap stack:
bipush 9
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
11: StackMap locals:
StackMap stack:
bipush 10
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
12: StackMap locals:
StackMap stack:
bipush 11
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
13: StackMap locals:
StackMap stack:
bipush 12
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
14: StackMap locals:
StackMap stack:
bipush 13
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
15: StackMap locals:
StackMap stack:
iconst_0
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
16: StackMap locals:
StackMap stack:
aconst_null
areturn
17: StackMap locals:
StackMap stack:
aload 0
checkcast com.sun.javafx.cursor.ImageCursorFrame
invokestatic com.sun.javafx.embed.swing.SwingCursors.createCustomCursor:(Lcom/sun/javafx/cursor/ImageCursorFrame;)Ljava/awt/Cursor;
areturn
18: StackMap locals:
StackMap stack:
iconst_0
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 cursorFrame Lcom/sun/javafx/cursor/CursorFrame;
MethodParameters:
Name Flags
cursorFrame
public static javafx.scene.Cursor embedCursorToCursor(java.awt.Cursor);
descriptor: (Ljava/awt/Cursor;)Ljavafx/scene/Cursor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: getstatic javafx.scene.Cursor.DEFAULT:Ljavafx/scene/Cursor;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.Cursor.getType:()I
tableswitch { // 0 - 13
0: 3
1: 4
2: 14
3: 16
4: 13
5: 12
6: 10
7: 9
8: 8
9: 11
10: 15
11: 5
12: 6
13: 7
default: 17
}
3: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.DEFAULT:Ljavafx/scene/Cursor;
areturn
4: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.CROSSHAIR:Ljavafx/scene/Cursor;
areturn
5: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.E_RESIZE:Ljavafx/scene/Cursor;
areturn
6: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.HAND:Ljavafx/scene/Cursor;
areturn
7: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.MOVE:Ljavafx/scene/Cursor;
areturn
8: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.N_RESIZE:Ljavafx/scene/Cursor;
areturn
9: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.NE_RESIZE:Ljavafx/scene/Cursor;
areturn
10: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.NW_RESIZE:Ljavafx/scene/Cursor;
areturn
11: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.S_RESIZE:Ljavafx/scene/Cursor;
areturn
12: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.SE_RESIZE:Ljavafx/scene/Cursor;
areturn
13: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.SW_RESIZE:Ljavafx/scene/Cursor;
areturn
14: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.TEXT:Ljavafx/scene/Cursor;
areturn
15: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.W_RESIZE:Ljavafx/scene/Cursor;
areturn
16: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.WAIT:Ljavafx/scene/Cursor;
areturn
17: StackMap locals:
StackMap stack:
getstatic javafx.scene.Cursor.DEFAULT:Ljavafx/scene/Cursor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 cursor Ljava/awt/Cursor;
MethodParameters:
Name Flags
cursor
static int[] $SWITCH_TABLE$com$sun$javafx$cursor$CursorType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.javafx.embed.swing.SwingCursors.$SWITCH_TABLE$com$sun$javafx$cursor$CursorType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.javafx.cursor.CursorType.values:()[Lcom/sun/javafx/cursor/CursorType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.javafx.cursor.CursorType.CLOSED_HAND:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 14
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.javafx.cursor.CursorType.CROSSHAIR:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.javafx.cursor.CursorType.DEFAULT:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.javafx.cursor.CursorType.DISAPPEAR:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 17
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.sun.javafx.cursor.CursorType.E_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 12
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.sun.javafx.cursor.CursorType.HAND:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 15
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.sun.javafx.cursor.CursorType.H_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 18
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic com.sun.javafx.cursor.CursorType.IMAGE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 21
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic com.sun.javafx.cursor.CursorType.MOVE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 16
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic com.sun.javafx.cursor.CursorType.NE_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 8
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic com.sun.javafx.cursor.CursorType.NONE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 20
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic com.sun.javafx.cursor.CursorType.NW_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 7
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic com.sun.javafx.cursor.CursorType.N_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 9
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic com.sun.javafx.cursor.CursorType.OPEN_HAND:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 13
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic com.sun.javafx.cursor.CursorType.SE_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 6
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
getstatic com.sun.javafx.cursor.CursorType.SW_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
iconst_5
iastore
48: goto 50
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
49: pop
StackMap locals:
StackMap stack:
50: aload 0
getstatic com.sun.javafx.cursor.CursorType.S_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 10
iastore
51: goto 53
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
52: pop
StackMap locals:
StackMap stack:
53: aload 0
getstatic com.sun.javafx.cursor.CursorType.TEXT:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
iconst_3
iastore
54: goto 56
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
55: pop
StackMap locals:
StackMap stack:
56: aload 0
getstatic com.sun.javafx.cursor.CursorType.V_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 19
iastore
57: goto 59
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
58: pop
StackMap locals:
StackMap stack:
59: aload 0
getstatic com.sun.javafx.cursor.CursorType.WAIT:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
iconst_4
iastore
60: goto 62
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
61: pop
StackMap locals:
StackMap stack:
62: aload 0
getstatic com.sun.javafx.cursor.CursorType.W_RESIZE:Lcom/sun/javafx/cursor/CursorType;
invokevirtual com.sun.javafx.cursor.CursorType.ordinal:()I
bipush 11
iastore
63: goto 65
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
64: pop
StackMap locals:
StackMap stack:
65: aload 0
dup
putstatic com.sun.javafx.embed.swing.SwingCursors.$SWITCH_TABLE$com$sun$javafx$cursor$CursorType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
47 48 49 Class java.lang.NoSuchFieldError
50 51 52 Class java.lang.NoSuchFieldError
53 54 55 Class java.lang.NoSuchFieldError
56 57 58 Class java.lang.NoSuchFieldError
59 60 61 Class java.lang.NoSuchFieldError
62 63 64 Class java.lang.NoSuchFieldError
}
SourceFile: "SwingCursors.java"
InnerClasses:
public abstract ImageAccessor = com.sun.javafx.tk.Toolkit$ImageAccessor of com.sun.javafx.tk.Toolkit