public class com.sun.javafx.embed.swing.SwingEvents
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.embed.swing.SwingEvents
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$javafx$scene$input$MouseButton;
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/SwingEvents;
public static int mouseIDToEmbedMouseType(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 500 - 506
500: 3
501: 1
502: 2
503: 4
504: 6
505: 7
506: 5
default: 8
}
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_2
ireturn
4: StackMap locals:
StackMap stack:
iconst_5
ireturn
5: StackMap locals:
StackMap stack:
bipush 6
ireturn
6: StackMap locals:
StackMap stack:
iconst_3
ireturn
7: StackMap locals:
StackMap stack:
iconst_4
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 id I
MethodParameters:
Name Flags
id
public static int mouseButtonToEmbedMouseButton(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iload 0
tableswitch { // 1 - 5
1: 2
2: 4
3: 6
4: 8
5: 10
default: 12
}
2: StackMap locals: int
StackMap stack:
iconst_1
istore 2
3: goto 12
4: StackMap locals:
StackMap stack:
iconst_4
istore 2
5: goto 12
6: StackMap locals:
StackMap stack:
iconst_2
istore 2
7: goto 12
8: StackMap locals:
StackMap stack:
bipush 8
istore 2
9: goto 12
10: StackMap locals:
StackMap stack:
bipush 16
istore 2
11: goto 12
12: StackMap locals:
StackMap stack:
iload 1
sipush 1024
iand
ifeq 15
13: iconst_1
istore 2
14: goto 26
StackMap locals:
StackMap stack:
15: iload 1
sipush 2048
iand
ifeq 18
16: iconst_4
istore 2
17: goto 26
StackMap locals:
StackMap stack:
18: iload 1
sipush 4096
iand
ifeq 21
19: iconst_2
istore 2
20: goto 26
StackMap locals:
StackMap stack:
21: iload 1
iconst_4
invokestatic java.awt.event.MouseEvent.getMaskForButton:(I)I
iand
ifeq 24
22: bipush 8
istore 2
23: goto 26
StackMap locals:
StackMap stack:
24: iload 1
iconst_5
invokestatic java.awt.event.MouseEvent.getMaskForButton:(I)I
iand
ifeq 26
25: bipush 16
istore 2
26: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 button I
0 27 1 extModifiers I
1 27 2 abstractButton I
MethodParameters:
Name Flags
button
extModifiers
public static int getWheelRotation(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.awt.event.MouseWheelEvent
ifeq 2
1: aload 0
checkcast java.awt.event.MouseWheelEvent
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public static int keyIDToEmbedKeyType(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 400 - 402
400: 3
401: 1
402: 2
default: 4
}
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_2
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 id I
MethodParameters:
Name Flags
id
public static int keyModifiersToEmbedKeyModifiers(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iload 0
bipush 64
iand
ifeq 3
2: iload 1
iconst_1
ior
istore 1
3: StackMap locals: int
StackMap stack:
iload 0
sipush 128
iand
ifeq 5
4: iload 1
iconst_2
ior
istore 1
5: StackMap locals:
StackMap stack:
iload 0
sipush 512
iand
ifeq 7
6: iload 1
iconst_4
ior
istore 1
7: StackMap locals:
StackMap stack:
iload 0
sipush 256
iand
ifeq 9
8: iload 1
bipush 8
ior
istore 1
9: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 extModifiers I
1 10 1 embedModifiers I
MethodParameters:
Name Flags
extModifiers
public static char keyCharToEmbedKeyChar(char);
descriptor: (C)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 10
if_icmpne 1
bipush 13
goto 2
StackMap locals:
StackMap stack:
1: iload 0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch C
MethodParameters:
Name Flags
ch
public static int fxMouseEventTypeToMouseID(javafx.scene.input.MouseEvent);
descriptor: (Ljavafx/scene/input/MouseEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.input.MouseEvent.getEventType:()Ljavafx/event/EventType;
astore 1
start local 1 1: aload 1
getstatic javafx.scene.input.MouseEvent.MOUSE_MOVED:Ljavafx/event/EventType;
if_acmpne 3
2: sipush 503
ireturn
3: StackMap locals: javafx.event.EventType
StackMap stack:
aload 1
getstatic javafx.scene.input.MouseEvent.MOUSE_PRESSED:Ljavafx/event/EventType;
if_acmpne 5
4: sipush 501
ireturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.MouseEvent.MOUSE_RELEASED:Ljavafx/event/EventType;
if_acmpne 7
6: sipush 502
ireturn
7: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.MouseEvent.MOUSE_CLICKED:Ljavafx/event/EventType;
if_acmpne 9
8: sipush 500
ireturn
9: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.MouseEvent.MOUSE_ENTERED:Ljavafx/event/EventType;
if_acmpne 11
10: sipush 504
ireturn
11: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.MouseEvent.MOUSE_EXITED:Ljavafx/event/EventType;
if_acmpne 13
12: sipush 505
ireturn
13: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.MouseEvent.MOUSE_DRAGGED:Ljavafx/event/EventType;
if_acmpne 15
14: sipush 506
ireturn
15: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.MouseEvent.DRAG_DETECTED:Ljavafx/event/EventType;
if_acmpne 17
16: iconst_m1
ireturn
17: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unknown MouseEvent type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 event Ljavafx/scene/input/MouseEvent;
1 18 1 type Ljavafx/event/EventType<*>;
MethodParameters:
Name Flags
event
public static int fxMouseModsToMouseMods(javafx.scene.input.MouseEvent);
descriptor: (Ljavafx/scene/input/MouseEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual javafx.scene.input.MouseEvent.isAltDown:()Z
ifeq 3
2: iload 1
sipush 512
ior
istore 1
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isControlDown:()Z
ifeq 5
4: iload 1
sipush 128
ior
istore 1
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isMetaDown:()Z
ifeq 7
6: iload 1
sipush 256
ior
istore 1
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isShiftDown:()Z
ifeq 9
8: iload 1
bipush 64
ior
istore 1
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isPrimaryButtonDown:()Z
ifeq 11
10: iload 1
sipush 1024
ior
istore 1
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isSecondaryButtonDown:()Z
ifeq 13
12: iload 1
sipush 4096
ior
istore 1
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isMiddleButtonDown:()Z
ifeq 15
14: iload 1
sipush 2048
ior
istore 1
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isBackButtonDown:()Z
ifeq 17
16: iload 1
iconst_4
invokestatic java.awt.event.MouseEvent.getMaskForButton:(I)I
ior
istore 1
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.MouseEvent.isForwardButtonDown:()Z
ifeq 19
18: iload 1
iconst_5
invokestatic java.awt.event.MouseEvent.getMaskForButton:(I)I
ior
istore 1
19: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 event Ljavafx/scene/input/MouseEvent;
1 20 1 mods I
MethodParameters:
Name Flags
event
public static int fxMouseButtonToMouseButton(javafx.scene.input.MouseEvent);
descriptor: (Ljavafx/scene/input/MouseEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.javafx.embed.swing.SwingEvents.$SWITCH_TABLE$javafx$scene$input$MouseButton:()[I
aload 0
invokevirtual javafx.scene.input.MouseEvent.getButton:()Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iaload
tableswitch { // 2 - 6
2: 1
3: 3
4: 2
5: 4
6: 5
default: 6
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_3
ireturn
3: StackMap locals:
StackMap stack:
iconst_2
ireturn
4: StackMap locals:
StackMap stack:
iconst_4
ireturn
5: StackMap locals:
StackMap stack:
iconst_5
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 event Ljavafx/scene/input/MouseEvent;
MethodParameters:
Name Flags
event
public static int fxKeyEventTypeToKeyID(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.input.KeyEvent.getEventType:()Ljavafx/event/EventType;
astore 1
start local 1 1: aload 1
getstatic javafx.scene.input.KeyEvent.KEY_PRESSED:Ljavafx/event/EventType;
if_acmpne 3
2: sipush 401
ireturn
3: StackMap locals: javafx.event.EventType
StackMap stack:
aload 1
getstatic javafx.scene.input.KeyEvent.KEY_RELEASED:Ljavafx/event/EventType;
if_acmpne 5
4: sipush 402
ireturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic javafx.scene.input.KeyEvent.KEY_TYPED:Ljavafx/event/EventType;
if_acmpne 7
6: sipush 400
ireturn
7: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unknown KeyEvent type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 event Ljavafx/scene/input/KeyEvent;
1 8 1 eventType Ljavafx/event/EventType<*>;
MethodParameters:
Name Flags
event
public static int fxKeyModsToKeyMods(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual javafx.scene.input.KeyEvent.isAltDown:()Z
ifeq 3
2: iload 1
sipush 512
ior
istore 1
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javafx.scene.input.KeyEvent.isControlDown:()Z
ifeq 5
4: iload 1
sipush 128
ior
istore 1
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.KeyEvent.isMetaDown:()Z
ifeq 7
6: iload 1
sipush 256
ior
istore 1
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.KeyEvent.isShiftDown:()Z
ifeq 9
8: iload 1
bipush 64
ior
istore 1
9: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 event Ljavafx/scene/input/KeyEvent;
1 10 1 mods I
MethodParameters:
Name Flags
event
public static int fxScrollModsToMouseWheelMods(javafx.scene.input.ScrollEvent);
descriptor: (Ljavafx/scene/input/ScrollEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual javafx.scene.input.ScrollEvent.isAltDown:()Z
ifeq 3
2: iload 1
sipush 512
ior
istore 1
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javafx.scene.input.ScrollEvent.isControlDown:()Z
ifeq 5
4: iload 1
sipush 128
ior
istore 1
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.ScrollEvent.isMetaDown:()Z
ifeq 7
6: iload 1
sipush 256
ior
istore 1
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.input.ScrollEvent.isShiftDown:()Z
ifeq 9
8: iload 1
bipush 64
ior
istore 1
9: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 event Ljavafx/scene/input/ScrollEvent;
1 10 1 mods I
MethodParameters:
Name Flags
event
static int[] $SWITCH_TABLE$javafx$scene$input$MouseButton();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.javafx.embed.swing.SwingEvents.$SWITCH_TABLE$javafx$scene$input$MouseButton:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javafx.scene.input.MouseButton.values:()[Ljavafx/scene/input/MouseButton;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javafx.scene.input.MouseButton.BACK:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_5
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javafx.scene.input.MouseButton.FORWARD:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
bipush 6
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javafx.scene.input.MouseButton.MIDDLE:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javafx.scene.input.MouseButton.NONE:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javafx.scene.input.MouseButton.PRIMARY:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic javafx.scene.input.MouseButton.SECONDARY:Ljavafx/scene/input/MouseButton;
invokevirtual javafx.scene.input.MouseButton.ordinal:()I
iconst_4
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic com.sun.javafx.embed.swing.SwingEvents.$SWITCH_TABLE$javafx$scene$input$MouseButton:[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
}
SourceFile: "SwingEvents.java"