public abstract class <C extends javafx.scene.control.MenuButton> extends com.sun.javafx.scene.control.behavior.ButtonBehavior<C>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase
super_class: com.sun.javafx.scene.control.behavior.ButtonBehavior
{
private final com.sun.javafx.scene.control.inputmap.InputMap<C> ;
descriptor: Lcom/sun/javafx/scene/control/inputmap/InputMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/sun/javafx/scene/control/inputmap/InputMap<TC;>;
public void <init>();
descriptor: (Ljavafx/scene/control/MenuButton;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, 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: aload 0
aload 0
invokespecial com.sun.javafx.scene.control.behavior.ButtonBehavior.getInputMap:()Lcom/sun/javafx/scene/control/inputmap/InputMap;
putfield com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.buttonInputMap:Lcom/sun/javafx/scene/control/inputmap/InputMap;
2: aload 0
getstatic javafx.scene.input.MouseEvent.MOUSE_RELEASED:Ljavafx/event/EventType;
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.removeMapping:(Ljava/lang/Object;)V
3: aload 0
iconst_1
anewarray com.sun.javafx.scene.control.inputmap.InputMap$Mapping
dup
iconst_0
new com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping
dup
getstatic javafx.scene.input.KeyCode.ESCAPE:Ljavafx/scene/input/KeyCode;
aload 0
invokedynamic handle(Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase;)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/MenuButtonBehaviorBase.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
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.addDefaultMapping:([Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping;)V
4: aload 0
iconst_1
anewarray com.sun.javafx.scene.control.inputmap.InputMap$Mapping
dup
iconst_0
new com.sun.javafx.scene.control.inputmap.InputMap$KeyMapping
dup
getstatic javafx.scene.input.KeyCode.CANCEL:Ljavafx/scene/input/KeyCode;
aload 0
invokedynamic handle(Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase;)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/MenuButtonBehaviorBase.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
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.addDefaultMapping:([Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping;)V
5: 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 2
start local 2 6: aload 0
aload 2
iconst_1
anewarray com.sun.javafx.scene.control.inputmap.InputMap$Mapping
dup
iconst_0
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/MenuButtonBehaviorBase;)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/MenuButtonBehaviorBase.overrideTraversalInput(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
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.addDefaultMapping:(Lcom/sun/javafx/scene/control/inputmap/InputMap;[Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping;)V
7: aload 0
aload 2
iconst_1
anewarray com.sun.javafx.scene.control.inputmap.InputMap$Mapping
dup
iconst_0
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/MenuButtonBehaviorBase;)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/MenuButtonBehaviorBase.overrideTraversalInput(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
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.addDefaultMapping:(Lcom/sun/javafx/scene/control/inputmap/InputMap;[Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping;)V
8: aload 0
aload 2
iconst_1
anewarray com.sun.javafx.scene.control.inputmap.InputMap$Mapping
dup
iconst_0
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/MenuButtonBehaviorBase;)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/MenuButtonBehaviorBase.overrideTraversalInput(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
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.addDefaultMapping:(Lcom/sun/javafx/scene/control/inputmap/InputMap;[Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping;)V
9: aload 0
aload 2
iconst_1
anewarray com.sun.javafx.scene.control.inputmap.InputMap$Mapping
dup
iconst_0
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/MenuButtonBehaviorBase;)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/MenuButtonBehaviorBase.overrideTraversalInput(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
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.addDefaultMapping:(Lcom/sun/javafx/scene/control/inputmap/InputMap;[Lcom/sun/javafx/scene/control/inputmap/InputMap$Mapping;)V
10: aload 0
aload 0
getfield com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.buttonInputMap:Lcom/sun/javafx/scene/control/inputmap/InputMap;
aload 2
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.addDefaultChildMap:(Lcom/sun/javafx/scene/control/inputmap/InputMap;Lcom/sun/javafx/scene/control/inputmap/InputMap;)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase<TC;>;
0 12 1 menuButton TC;
6 12 2 customFocusInputMap Lcom/sun/javafx/scene/control/inputmap/InputMap<TC;>;
Signature: (TC;)V
MethodParameters:
Name Flags
menuButton final
private void (javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
astore 2
start local 2 1: aload 2
invokevirtual javafx.scene.control.MenuButton.getPopupSide:()Ljavafx/geometry/Side;
astore 3
start local 3 2: aload 2
invokevirtual javafx.scene.control.MenuButton.isShowing:()Z
ifne 4
3: aload 1
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.UP:Ljavafx/scene/input/KeyCode;
if_acmpne 4
aload 3
getstatic javafx.geometry.Side.TOP:Ljavafx/geometry/Side;
if_acmpeq 7
4: StackMap locals: javafx.scene.control.MenuButton javafx.geometry.Side
StackMap stack:
aload 1
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.DOWN:Ljavafx/scene/input/KeyCode;
if_acmpne 5
aload 3
getstatic javafx.geometry.Side.BOTTOM:Ljavafx/geometry/Side;
if_acmpeq 7
aload 3
getstatic javafx.geometry.Side.TOP:Ljavafx/geometry/Side;
if_acmpeq 7
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.LEFT:Ljavafx/scene/input/KeyCode;
if_acmpne 6
aload 3
getstatic javafx.geometry.Side.RIGHT:Ljavafx/geometry/Side;
if_acmpeq 7
aload 3
getstatic javafx.geometry.Side.LEFT:Ljavafx/geometry/Side;
if_acmpeq 7
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.RIGHT:Ljavafx/scene/input/KeyCode;
if_acmpne 8
aload 3
getstatic javafx.geometry.Side.RIGHT:Ljavafx/geometry/Side;
if_acmpeq 7
aload 3
getstatic javafx.geometry.Side.LEFT:Ljavafx/geometry/Side;
if_acmpne 8
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual javafx.scene.control.MenuButton.show:()V
8: StackMap locals:
StackMap stack:
return
end local 3 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/MenuButtonBehaviorBase<TC;>;
0 9 1 event Ljavafx/scene/input/KeyEvent;
1 9 2 button Ljavafx/scene/control/MenuButton;
2 9 3 popupSide Ljavafx/geometry/Side;
MethodParameters:
Name Flags
event
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.isShowing:()Z
ifeq 3
1: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.hide:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.show:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase<TC;>;
public void (javafx.scene.input.MouseEvent, boolean);
descriptor: (Ljavafx/scene/input/MouseEvent;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
astore 3
start local 3 1: iload 2
ifeq 6
2: aload 3
invokevirtual javafx.scene.control.MenuButton.isShowing:()Z
ifeq 4
3: aload 3
invokevirtual javafx.scene.control.MenuButton.hide:()V
4: StackMap locals: javafx.scene.control.MenuButton
StackMap stack:
aload 0
aload 1
invokespecial com.sun.javafx.scene.control.behavior.ButtonBehavior.mousePressed:(Ljavafx/scene/input/MouseEvent;)V
5: goto 13
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual javafx.scene.control.MenuButton.isFocused:()Z
ifne 8
aload 3
invokevirtual javafx.scene.control.MenuButton.isFocusTraversable:()Z
ifeq 8
7: aload 3
invokevirtual javafx.scene.control.MenuButton.requestFocus:()V
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual javafx.scene.control.MenuButton.isShowing:()Z
ifeq 11
9: aload 3
invokevirtual javafx.scene.control.MenuButton.hide:()V
10: goto 13
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.scene.input.MouseEvent.getButton:()Ljavafx/scene/input/MouseButton;
getstatic javafx.scene.input.MouseButton.PRIMARY:Ljavafx/scene/input/MouseButton;
if_acmpne 13
12: aload 3
invokevirtual javafx.scene.control.MenuButton.show:()V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase<TC;>;
0 14 1 e Ljavafx/scene/input/MouseEvent;
0 14 2 behaveLikeButton Z
1 14 3 control TC;
MethodParameters:
Name Flags
e
behaveLikeButton
public void (javafx.scene.input.MouseEvent, boolean);
descriptor: (Ljavafx/scene/input/MouseEvent;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 3
1: aload 0
aload 1
invokespecial com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased:(Ljavafx/scene/input/MouseEvent;)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.isShowing:()Z
ifeq 5
aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
aload 1
invokevirtual javafx.scene.input.MouseEvent.getX:()D
aload 1
invokevirtual javafx.scene.input.MouseEvent.getY:()D
invokevirtual javafx.scene.control.MenuButton.contains:(DD)Z
ifne 5
4: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.hide:()V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.disarm:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase<TC;>;
0 7 1 e Ljavafx/scene/input/MouseEvent;
0 7 2 behaveLikeButton Z
MethodParameters:
Name Flags
e
behaveLikeButton
private void (javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.hide:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase<TC;>;
0 1 1 e Ljavafx/scene/input/KeyEvent;
private void (javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.scene.control.behavior.MenuButtonBehaviorBase.getNode:()Ljavafx/scene/Node;
checkcast javafx.scene.control.MenuButton
invokevirtual javafx.scene.control.MenuButton.hide:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/behavior/MenuButtonBehaviorBase<TC;>;
0 1 1 e Ljavafx/scene/input/KeyEvent;
}
Signature: <C:Ljavafx/scene/control/MenuButton;>Lcom/sun/javafx/scene/control/behavior/ButtonBehavior<TC;>;
SourceFile: "MenuButtonBehaviorBase.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