public class com.sun.javafx.scene.control.behavior.ToggleButtonBehavior<C extends javafx.scene.control.ToggleButton> extends com.sun.javafx.scene.control.behavior.ButtonBehavior<C>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.scene.control.behavior.ToggleButtonBehavior
super_class: com.sun.javafx.scene.control.behavior.ButtonBehavior
{
public void <init>();
descriptor: (Ljavafx/scene/control/ToggleButton;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.javafx.scene.control.behavior.ButtonBehavior.<init>:(Ljavafx/scene/control/ButtonBase;)V
1: iconst_4
anewarray com.sun.javafx.scene.control.inputmap.InputMap$Mapping
dup
iconst_0
2: new com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping
dup
getstatic javafx.scene.input.KeyCode.RIGHT:Ljavafx/scene/input/KeyCode;
aload 0
invokedynamic handle(Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior;)Ljavafx/event/EventHandler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/event/Event;)V
com/sun/javafx/scene/control/behavior/ToggleButtonBehavior.lambda$0(Ljavafx/scene/input/KeyEvent;)V (7)
(Ljavafx/scene/input/KeyEvent;)V
invokespecial com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping.<init>:(Ljavafx/scene/input/KeyCode;Ljavafx/event/EventHandler;)V
aastore
dup
iconst_1
3: new com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping
dup
getstatic javafx.scene.input.KeyCode.LEFT:Ljavafx/scene/input/KeyCode;
aload 0
invokedynamic handle(Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior;)Ljavafx/event/EventHandler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/event/Event;)V
com/sun/javafx/scene/control/behavior/ToggleButtonBehavior.lambda$1(Ljavafx/scene/input/KeyEvent;)V (7)
(Ljavafx/scene/input/KeyEvent;)V
invokespecial com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping.<init>:(Ljavafx/scene/input/KeyCode;Ljavafx/event/EventHandler;)V
aastore
dup
iconst_2
4: new com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping
dup
getstatic javafx.scene.input.KeyCode.DOWN:Ljavafx/scene/input/KeyCode;
aload 0
invokedynamic handle(Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior;)Ljavafx/event/EventHandler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/event/Event;)V
com/sun/javafx/scene/control/behavior/ToggleButtonBehavior.lambda$2(Ljavafx/scene/input/KeyEvent;)V (7)
(Ljavafx/scene/input/KeyEvent;)V
invokespecial com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping.<init>:(Ljavafx/scene/input/KeyCode;Ljavafx/event/EventHandler;)V
aastore
dup
iconst_3
5: new com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping
dup
getstatic javafx.scene.input.KeyCode.UP:Ljavafx/scene/input/KeyCode;
aload 0
invokedynamic handle(Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior;)Ljavafx/event/EventHandler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/event/Event;)V
com/sun/javafx/scene/control/behavior/ToggleButtonBehavior.lambda$3(Ljavafx/scene/input/KeyEvent;)V (7)
(Ljavafx/scene/input/KeyEvent;)V
invokespecial com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping.<init>:(Ljavafx/scene/input/KeyCode;Ljavafx/event/EventHandler;)V
aastore
6: invokestatic javafx.collections.FXCollections.observableArrayList:([Ljava/lang/Object;)Ljavafx/collections/ObservableList;
astore 2
start local 2 7: aload 2
invokeinterface javafx.collections.ObservableList.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: com.sun.javafx.scene.control.behavior.ToggleButtonBehavior javafx.scene.control.ToggleButton javafx.collections.ObservableList top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.javafx.scene.control.inputmap.InputMap$Mapping
astore 3
start local 3 9: aload 3
iconst_0
invokevirtual com.sun.javafx.scene.control.inputmap.InputMap$Mapping.setAutoConsume:(Z)V
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: new com.sun.javafx.scene.control.inputmap.InputMap
dup
aload 1
invokespecial com.sun.javafx.scene.control.inputmap.InputMap.<init>:(Ljavafx/scene/Node;)V
astore 3
start local 3 12: aload 3
invokevirtual com.sun.javafx.scene.control.inputmap.InputMap.getMappings:()Ljavafx/collections/ObservableList;
aload 2
invokeinterface javafx.collections.ObservableList.addAll:(Ljava/util/Collection;)Z
pop
13: aload 0
aload 0
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.getInputMap:()Lcom/sun/javafx/scene/control/inputmap/InputMap;
aload 3
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.addDefaultChildMap:(Lcom/sun/javafx/scene/control/inputmap/InputMap;Lcom/sun/javafx/scene/control/inputmap/InputMap;)V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 15 1 button TC;
7 15 2 mappings Ljavafx/collections/ObservableList<Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping<*>;>;
9 10 3 mapping Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping<*>;
12 15 3 overriddenFocusInput Lcom/sun/javafx/scene/control/inputmap/InputMap<TC;>;
Signature: (TC;)V
MethodParameters:
Name Flags
button
private int nextToggleIndex(javafx.collections.ObservableList<javafx.scene.control.Toggle>, );
descriptor: (Ljavafx/collections/ObservableList;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iflt 1
iload 2
aload 1
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 2
iconst_1
iadd
aload 1
invokeinterface javafx.collections.ObservableList.size:()I
irem
istore 4
start local 4 3: goto 5
start local 3 4: StackMap locals: javafx.scene.control.Toggle int
StackMap stack:
iload 4
iconst_1
iadd
aload 1
invokeinterface javafx.collections.ObservableList.size:()I
irem
istore 4
end local 3 5: StackMap locals: com.sun.javafx.scene.control.behavior.ToggleButtonBehavior javafx.collections.ObservableList int top int
StackMap stack:
iload 4
iload 2
if_icmpeq 8
aload 1
iload 4
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.Toggle
dup
astore 3
start local 3 6: instanceof javafx.scene.Node
ifeq 8
7: aload 3
checkcast javafx.scene.Node
invokevirtual javafx.scene.Node.isDisabled:()Z
ifne 4
end local 3 8: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 9 1 toggles Ljavafx/collections/ObservableList<Ljavafx/scene/control/Toggle;>;
0 9 2 from I
4 5 3 toggle Ljavafx/scene/control/Toggle;
6 8 3 toggle Ljavafx/scene/control/Toggle;
3 9 4 i I
Signature: (Ljavafx/collections/ObservableList<Ljavafx/scene/control/Toggle;>;I)I
MethodParameters:
Name Flags
toggles final
from final
private int previousToggleIndex(javafx.collections.ObservableList<javafx.scene.control.Toggle>, );
descriptor: (Ljavafx/collections/ObservableList;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iflt 1
iload 2
aload 1
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 2
StackMap locals:
StackMap stack:
1: aload 1
invokeinterface javafx.collections.ObservableList.size:()I
ireturn
2: StackMap locals:
StackMap stack:
iload 2
iconst_1
isub
aload 1
invokeinterface javafx.collections.ObservableList.size:()I
invokestatic java.lang.Math.floorMod:(II)I
istore 4
start local 4 3: goto 5
start local 3 4: StackMap locals: javafx.scene.control.Toggle int
StackMap stack:
iload 4
iconst_1
isub
aload 1
invokeinterface javafx.collections.ObservableList.size:()I
invokestatic java.lang.Math.floorMod:(II)I
istore 4
end local 3 5: StackMap locals: com.sun.javafx.scene.control.behavior.ToggleButtonBehavior javafx.collections.ObservableList int top int
StackMap stack:
iload 4
iload 2
if_icmpeq 8
aload 1
iload 4
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.Toggle
dup
astore 3
start local 3 6: instanceof javafx.scene.Node
ifeq 8
7: aload 3
checkcast javafx.scene.Node
invokevirtual javafx.scene.Node.isDisabled:()Z
ifne 4
end local 3 8: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 9 1 toggles Ljavafx/collections/ObservableList<Ljavafx/scene/control/Toggle;>;
0 9 2 from I
4 5 3 toggle Ljavafx/scene/control/Toggle;
6 8 3 toggle Ljavafx/scene/control/Toggle;
3 9 4 i I
Signature: (Ljavafx/collections/ObservableList<Ljavafx/scene/control/Toggle;>;I)I
MethodParameters:
Name Flags
toggles final
from final
private void traverse(javafx.scene.input.KeyEvent, java.lang.String);
descriptor: (Ljavafx/scene/input/KeyEvent;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.ToggleButton
astore 3
start local 3 1: aload 3
invokevirtual javafx.scene.control.ToggleButton.getToggleGroup:()Ljavafx/scene/control/ToggleGroup;
astore 4
start local 4 2: aload 4
ifnonnull 5
3: aload 1
invokevirtual javafx.scene.input.KeyEvent.consume:()V
4: return
5: StackMap locals: javafx.scene.control.ToggleButton javafx.scene.control.ToggleGroup
StackMap stack:
aload 4
invokevirtual javafx.scene.control.ToggleGroup.getToggles:()Ljavafx/collections/ObservableList;
astore 5
start local 5 6: aload 5
aload 3
invokeinterface javafx.collections.ObservableList.indexOf:(Ljava/lang/Object;)I
istore 6
start local 6 7: aload 0
aload 2
aload 3
invokevirtual javafx.scene.control.ToggleButton.getEffectiveNodeOrientation:()Ljavafx/geometry/NodeOrientation;
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.traversingToNext:(Ljava/lang/String;Ljavafx/geometry/NodeOrientation;)Z
istore 7
start local 7 8: invokestatic com.sun.javafx.scene.control.skin.Utils.isTwoLevelFocus:()Z
ifne 23
9: iload 7
ifeq 17
10: aload 0
aload 5
iload 6
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.nextToggleIndex:(Ljavafx/collections/ObservableList;I)I
istore 8
start local 8 11: iload 8
iload 6
if_icmpeq 23
12: aload 5
iload 8
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.Toggle
astore 9
start local 9 13: aload 4
aload 9
invokevirtual javafx.scene.control.ToggleGroup.selectToggle:(Ljavafx/scene/control/Toggle;)V
14: aload 9
checkcast javafx.scene.control.Control
invokevirtual javafx.scene.control.Control.requestFocus:()V
15: aload 1
invokevirtual javafx.scene.input.KeyEvent.consume:()V
end local 9 end local 8 16: goto 23
17: StackMap locals: javafx.collections.ObservableList int int
StackMap stack:
aload 0
aload 5
iload 6
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.previousToggleIndex:(Ljavafx/collections/ObservableList;I)I
istore 8
start local 8 18: iload 8
iload 6
if_icmpeq 23
19: aload 5
iload 8
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.Toggle
astore 9
start local 9 20: aload 4
aload 9
invokevirtual javafx.scene.control.ToggleGroup.selectToggle:(Ljavafx/scene/control/Toggle;)V
21: aload 9
checkcast javafx.scene.control.Control
invokevirtual javafx.scene.control.Control.requestFocus:()V
22: aload 1
invokevirtual javafx.scene.input.KeyEvent.consume:()V
end local 9 end local 8 23: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 24 1 e Ljavafx/scene/input/KeyEvent;
0 24 2 name Ljava/lang/String;
1 24 3 toggleButton Ljavafx/scene/control/ToggleButton;
2 24 4 toggleGroup Ljavafx/scene/control/ToggleGroup;
6 24 5 toggles Ljavafx/collections/ObservableList<Ljavafx/scene/control/Toggle;>;
7 24 6 currentToggleIdx I
8 24 7 traversingToNext Z
11 16 8 nextToggleIndex I
13 16 9 toggle Ljavafx/scene/control/Toggle;
18 23 8 prevToggleIndex I
20 23 9 toggle Ljavafx/scene/control/Toggle;
MethodParameters:
Name Flags
e
name
private boolean traversingToNext(java.lang.String, javafx.geometry.NodeOrientation);
descriptor: (Ljava/lang/String;Ljavafx/geometry/NodeOrientation;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic javafx.geometry.NodeOrientation.RIGHT_TO_LEFT:Ljavafx/geometry/NodeOrientation;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 1
dup
astore 4
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 4
-1226903242: 4
254673449: 5
491884861: 6
1761126984: 7
default: 16
}
StackMap locals: int java.lang.String
StackMap stack:
4: aload 4
ldc "ToggleNext-Right"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 16
StackMap locals:
StackMap stack:
5: aload 4
ldc "TogglePrevious-Left"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
goto 16
StackMap locals:
StackMap stack:
6: aload 4
ldc "TogglePrevious-Up"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 16
StackMap locals:
StackMap stack:
7: aload 4
ldc "ToggleNext-Down"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
goto 16
8: StackMap locals:
StackMap stack:
iload 3
ifeq 9
iconst_0
goto 10
StackMap locals:
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iload 3
ifeq 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: ireturn
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
16: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Not a toggle action"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 17 1 name Ljava/lang/String;
0 17 2 effectiveNodeOrientation Ljavafx/geometry/NodeOrientation;
3 17 3 rtl Z
MethodParameters:
Name Flags
name
effectiveNodeOrientation
private void lambda$0(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "ToggleNext-Right"
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.traverse:(Ljavafx/scene/input/KeyEvent;Ljava/lang/String;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 1 1 e Ljavafx/scene/input/KeyEvent;
private void lambda$1(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "TogglePrevious-Left"
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.traverse:(Ljavafx/scene/input/KeyEvent;Ljava/lang/String;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 1 1 e Ljavafx/scene/input/KeyEvent;
private void lambda$2(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "ToggleNext-Down"
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.traverse:(Ljavafx/scene/input/KeyEvent;Ljava/lang/String;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 1 1 e Ljavafx/scene/input/KeyEvent;
private void lambda$3(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "TogglePrevious-Up"
invokevirtual com.sun.javafx.scene.control.behavior.ToggleButtonBehavior.traverse:(Ljavafx/scene/input/KeyEvent;Ljava/lang/String;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/behavior/ToggleButtonBehavior<TC;>;
0 1 1 e Ljavafx/scene/input/KeyEvent;
}
Signature: <C:Ljavafx/scene/control/ToggleButton;>Lcom/sun/javafx/scene/control/behavior/ButtonBehavior<TC;>;
SourceFile: "ToggleButtonBehavior.java"
InnerClasses:
public KeyMapping = com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping of com.sun.javafx.scene.control.inputmap.InputMap
public abstract Mapping = com.sun.javafx.scene.control.inputmap.InputMap$Mapping of com.sun.javafx.scene.control.inputmap.InputMap
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles