class javafx.embed.swing.SwingNode$SwingKeyEventHandler implements javafx.event.EventHandler<javafx.scene.input.KeyEvent>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.embed.swing.SwingNode$SwingKeyEventHandler
super_class: java.lang.Object
{
final javafx.embed.swing.SwingNode this$0;
descriptor: Ljavafx/embed/swing/SwingNode;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javafx.embed.swing.SwingNode);
descriptor: (Ljavafx/embed/swing/SwingNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // javafx.embed.swing.SwingNode$SwingKeyEventHandler this
0: .line 937
aload 0 /* this */
aload 1
putfield javafx.embed.swing.SwingNode$SwingKeyEventHandler.this$0:Ljavafx/embed/swing/SwingNode;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // javafx.embed.swing.SwingNode$SwingKeyEventHandler this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/embed/swing/SwingNode$SwingKeyEventHandler;
MethodParameters:
Name Flags
this$0 final
public void handle(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, args_size=2
start local 0 // javafx.embed.swing.SwingNode$SwingKeyEventHandler this
start local 1 // javafx.scene.input.KeyEvent event
0: .line 940
aload 0 /* this */
getfield javafx.embed.swing.SwingNode$SwingKeyEventHandler.this$0:Ljavafx/embed/swing/SwingNode;
getfield javafx.embed.swing.SwingNode.swNodeIOP:Lcom/sun/javafx/embed/swing/SwingNodeInterop;
invokevirtual com.sun.javafx.embed.swing.SwingNodeInterop.getLightweightFrame:()Ljava/lang/Object;
astore 2 /* frame */
start local 2 // java.lang.Object frame
1: .line 941
aload 2 /* frame */
ifnonnull 3
2: .line 942
return
3: .line 944
StackMap locals: java.lang.Object
StackMap stack:
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCharacter:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
4: .line 946
return
5: .line 949
StackMap locals:
StackMap stack:
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.LEFT:Ljavafx/scene/input/KeyCode;
if_acmpeq 10
6: .line 950
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.RIGHT:Ljavafx/scene/input/KeyCode;
if_acmpeq 10
7: .line 951
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.UP:Ljavafx/scene/input/KeyCode;
if_acmpeq 10
8: .line 952
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.DOWN:Ljavafx/scene/input/KeyCode;
if_acmpeq 10
9: .line 953
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.TAB:Ljavafx/scene/input/KeyCode;
if_acmpne 11
10: .line 955
StackMap locals:
StackMap stack:
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.consume:()V
11: .line 958
StackMap locals:
StackMap stack:
aload 1 /* event */
invokestatic com.sun.javafx.embed.swing.SwingEvents.fxKeyEventTypeToKeyID:(Ljavafx/scene/input/KeyEvent;)I
istore 3 /* swingID */
start local 3 // int swingID
12: .line 959
iload 3 /* swingID */
ifge 14
13: .line 960
return
14: .line 962
StackMap locals: int
StackMap stack:
aload 1 /* event */
invokestatic com.sun.javafx.embed.swing.SwingEvents.fxKeyModsToKeyMods:(Ljavafx/scene/input/KeyEvent;)I
istore 4 /* swingModifiers */
start local 4 // int swingModifiers
15: .line 963
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
invokevirtual javafx.scene.input.KeyCode.getCode:()I
istore 5 /* swingKeyCode */
start local 5 // int swingKeyCode
16: .line 964
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getCharacter:()Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 6 /* swingChar */
start local 6 // char swingChar
17: .line 968
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getEventType:()Ljavafx/event/EventType;
getstatic javafx.scene.input.KeyEvent.KEY_PRESSED:Ljavafx/event/EventType;
if_acmpne 21
18: .line 969
aload 1 /* event */
invokevirtual javafx.scene.input.KeyEvent.getText:()Ljava/lang/String;
astore 7 /* text */
start local 7 // java.lang.String text
19: .line 970
aload 7 /* text */
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 21
20: .line 971
aload 7 /* text */
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 6 /* swingChar */
end local 7 // java.lang.String text
21: .line 974
StackMap locals: int int int
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 7 /* swingWhen */
start local 7 // long swingWhen
22: .line 975
aload 0 /* this */
getfield javafx.embed.swing.SwingNode$SwingKeyEventHandler.this$0:Ljavafx/embed/swing/SwingNode;
getfield javafx.embed.swing.SwingNode.swNodeIOP:Lcom/sun/javafx/embed/swing/SwingNodeInterop;
aload 2 /* frame */
23: .line 976
iload 3 /* swingID */
lload 7 /* swingWhen */
iload 4 /* swingModifiers */
iload 5 /* swingKeyCode */
24: .line 977
iload 6 /* swingChar */
25: .line 975
invokevirtual com.sun.javafx.embed.swing.SwingNodeInterop.createKeyEvent:(Ljava/lang/Object;IJIIC)Ljava/awt/event/KeyEvent;
astore 9 /* keyEvent */
start local 9 // java.awt.event.KeyEvent keyEvent
26: .line 978
new javafx.embed.swing.SwingNode$PostEventAction
dup
aload 0 /* this */
getfield javafx.embed.swing.SwingNode$SwingKeyEventHandler.this$0:Ljavafx/embed/swing/SwingNode;
aload 9 /* keyEvent */
invokespecial javafx.embed.swing.SwingNode$PostEventAction.<init>:(Ljavafx/embed/swing/SwingNode;Ljava/awt/AWTEvent;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
27: .line 979
return
end local 9 // java.awt.event.KeyEvent keyEvent
end local 7 // long swingWhen
end local 6 // char swingChar
end local 5 // int swingKeyCode
end local 4 // int swingModifiers
end local 3 // int swingID
end local 2 // java.lang.Object frame
end local 1 // javafx.scene.input.KeyEvent event
end local 0 // javafx.embed.swing.SwingNode$SwingKeyEventHandler this
LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljavafx/embed/swing/SwingNode$SwingKeyEventHandler;
0 28 1 event Ljavafx/scene/input/KeyEvent;
1 28 2 frame Ljava/lang/Object;
12 28 3 swingID I
15 28 4 swingModifiers I
16 28 5 swingKeyCode I
17 28 6 swingChar C
19 21 7 text Ljava/lang/String;
22 28 7 swingWhen J
26 28 9 keyEvent Ljava/awt/event/KeyEvent;
MethodParameters:
Name Flags
event
public void handle(javafx.event.Event);
descriptor: (Ljavafx/event/Event;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: .line 1
aload 0
aload 1
checkcast javafx.scene.input.KeyEvent
invokevirtual javafx.embed.swing.SwingNode$SwingKeyEventHandler.handle:(Ljavafx/scene/input/KeyEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljavafx/event/EventHandler<Ljavafx/scene/input/KeyEvent;>;
SourceFile: "SwingNode.java"
NestHost: javafx.embed.swing.SwingNode
InnerClasses:
private PostEventAction = javafx.embed.swing.SwingNode$PostEventAction of javafx.embed.swing.SwingNode
private SwingKeyEventHandler = javafx.embed.swing.SwingNode$SwingKeyEventHandler of javafx.embed.swing.SwingNode