public class implements javafx.scene.control.Skin<javafx.scene.control.ContextMenu>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javafx.scene.control.skin.ContextMenuSkin
super_class: java.lang.Object
{
private javafx.scene.control.ContextMenu ;
descriptor: Ljavafx/scene/control/ContextMenu;
flags: (0x0002) ACC_PRIVATE
private final javafx.scene.layout.Region ;
descriptor: Ljavafx/scene/layout/Region;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.javafx.scene.control.behavior.TwoLevelFocusPopupBehavior ;
descriptor: Lcom/sun/javafx/scene/control/behavior/TwoLevelFocusPopupBehavior;
flags: (0x0002) ACC_PRIVATE
private double ;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double ;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double ;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double ;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private final javafx.event.EventHandler<javafx.scene.input.KeyEvent> keyListener;
descriptor: Ljavafx/event/EventHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/event/EventHandler<Ljavafx/scene/input/KeyEvent;>;
public void (javafx.scene.control.ContextMenu);
descriptor: (Ljavafx/scene/control/ContextMenu;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javafx.scene.control.skin.ContextMenuSkin$1
dup
aload 0
invokespecial javafx.scene.control.skin.ContextMenuSkin$1.<init>:(Ljavafx/scene/control/skin/ContextMenuSkin;)V
putfield javafx.scene.control.skin.ContextMenuSkin.keyListener:Ljavafx/event/EventHandler;
2: aload 0
aload 1
putfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
3: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
getstatic javafx.scene.control.Menu.ON_SHOWING:Ljavafx/event/EventType;
new javafx.scene.control.skin.ContextMenuSkin$2
dup
aload 0
invokespecial javafx.scene.control.skin.ContextMenuSkin$2.<init>:(Ljavafx/scene/control/skin/ContextMenuSkin;)V
invokevirtual javafx.scene.control.ContextMenu.addEventHandler:(Ljavafx/event/EventType;Ljavafx/event/EventHandler;)V
4: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
getstatic javafx.scene.control.Menu.ON_SHOWN:Ljavafx/event/EventType;
new javafx.scene.control.skin.ContextMenuSkin$3
dup
aload 0
invokespecial javafx.scene.control.skin.ContextMenuSkin$3.<init>:(Ljavafx/scene/control/skin/ContextMenuSkin;)V
invokevirtual javafx.scene.control.ContextMenu.addEventHandler:(Ljavafx/event/EventType;Ljavafx/event/EventHandler;)V
5: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
getstatic javafx.scene.control.Menu.ON_HIDDEN:Ljavafx/event/EventType;
new javafx.scene.control.skin.ContextMenuSkin$4
dup
aload 0
invokespecial javafx.scene.control.skin.ContextMenuSkin$4.<init>:(Ljavafx/scene/control/skin/ContextMenuSkin;)V
invokevirtual javafx.scene.control.ContextMenu.addEventHandler:(Ljavafx/event/EventType;Ljavafx/event/EventHandler;)V
6: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
getstatic javafx.stage.WindowEvent.WINDOW_HIDING:Ljavafx/event/EventType;
new javafx.scene.control.skin.ContextMenuSkin$5
dup
aload 0
invokespecial javafx.scene.control.skin.ContextMenuSkin$5.<init>:(Ljavafx/scene/control/skin/ContextMenuSkin;)V
invokevirtual javafx.scene.control.ContextMenu.addEventFilter:(Ljavafx/event/EventType;Ljavafx/event/EventHandler;)V
7: getstatic com.sun.javafx.scene.control.Properties.IS_TOUCH_SUPPORTED:Z
ifeq 11
8: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
invokevirtual javafx.scene.control.ContextMenu.getStyleClass:()Ljavafx/collections/ObservableList;
ldc "text-input-context-menu"
invokeinterface javafx.collections.ObservableList.contains:(Ljava/lang/Object;)Z
ifeq 11
9: aload 0
new com.sun.javafx.scene.control.EmbeddedTextContextMenuContent
dup
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
invokespecial com.sun.javafx.scene.control.EmbeddedTextContextMenuContent.<init>:(Ljavafx/scene/control/ContextMenu;)V
putfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
10: goto 12
11: StackMap locals: javafx.scene.control.skin.ContextMenuSkin javafx.scene.control.ContextMenu
StackMap stack:
aload 0
new com.sun.javafx.scene.control.ContextMenuContent
dup
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
invokespecial com.sun.javafx.scene.control.ContextMenuContent.<init>:(Ljavafx/scene/control/ContextMenu;)V
putfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
12: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
invokevirtual javafx.scene.layout.Region.idProperty:()Ljavafx/beans/property/StringProperty;
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
invokevirtual javafx.scene.control.ContextMenu.idProperty:()Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
13: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
invokevirtual javafx.scene.layout.Region.styleProperty:()Ljavafx/beans/property/StringProperty;
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
invokevirtual javafx.scene.control.ContextMenu.styleProperty:()Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
14: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
invokevirtual javafx.scene.layout.Region.getStyleClass:()Ljavafx/collections/ObservableList;
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
invokevirtual javafx.scene.control.ContextMenu.getStyleClass:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.addAll:(Ljava/util/Collection;)Z
pop
15: invokestatic com.sun.javafx.scene.control.skin.Utils.isTwoLevelFocus:()Z
ifeq 17
16: aload 0
new com.sun.javafx.scene.control.behavior.TwoLevelFocusPopupBehavior
dup
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
invokespecial com.sun.javafx.scene.control.behavior.TwoLevelFocusPopupBehavior.<init>:(Ljavafx/scene/control/PopupControl;)V
putfield javafx.scene.control.skin.ContextMenuSkin.tlFocus:Lcom/sun/javafx/scene/control/behavior/TwoLevelFocusPopupBehavior;
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavafx/scene/control/skin/ContextMenuSkin;
0 18 1 control Ljavafx/scene/control/ContextMenu;
MethodParameters:
Name Flags
control final
public javafx.scene.control.ContextMenu ();
descriptor: ()Ljavafx/scene/control/ContextMenu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.popupMenu:Ljavafx/scene/control/ContextMenu;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/skin/ContextMenuSkin;
public javafx.scene.Node ();
descriptor: ()Ljavafx/scene/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/skin/ContextMenuSkin;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
invokevirtual javafx.scene.layout.Region.idProperty:()Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.unbind:()V
1: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
invokevirtual javafx.scene.layout.Region.styleProperty:()Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.unbind:()V
2: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.tlFocus:Lcom/sun/javafx/scene/control/behavior/TwoLevelFocusPopupBehavior;
ifnull 3
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.tlFocus:Lcom/sun/javafx/scene/control/behavior/TwoLevelFocusPopupBehavior;
invokevirtual com.sun.javafx.scene.control.behavior.TwoLevelFocusPopupBehavior.dispose:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/control/skin/ContextMenuSkin;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.control.skin.ContextMenuSkin.getSkinnable:()Ljavafx/scene/control/ContextMenu;
astore 1
start local 1 1: aload 1
invokevirtual javafx.scene.control.ContextMenu.getOwnerNode:()Ljavafx/scene/Node;
astore 2
start local 2 2: aload 2
ifnonnull 3
return
3: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Node
StackMap stack:
aload 2
aload 2
invokevirtual javafx.scene.Node.getLayoutBounds:()Ljavafx/geometry/Bounds;
invokevirtual javafx.scene.Node.localToScreen:(Ljavafx/geometry/Bounds;)Ljavafx/geometry/Bounds;
astore 3
start local 3 4: aload 3
ifnonnull 5
return
5: StackMap locals: javafx.geometry.Bounds
StackMap stack:
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
ldc -1.0
invokevirtual javafx.scene.layout.Region.prefHeight:(D)D
dstore 4
start local 4 6: aload 0
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.prefHeight:D
dload 4
dsub
putfield javafx.scene.control.skin.ContextMenuSkin.shiftY:D
7: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.shiftY:D
dconst_0
dcmpl
ifle 9
aload 1
invokevirtual javafx.scene.control.ContextMenu.getY:()D
dload 4
dadd
aload 3
invokevirtual javafx.geometry.Bounds.getMinY:()D
dcmpg
ifge 9
8: aload 1
aload 1
invokevirtual javafx.scene.control.ContextMenu.getY:()D
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.shiftY:D
dadd
invokevirtual javafx.scene.control.ContextMenu.setY:(D)V
9: StackMap locals: double
StackMap stack:
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.root:Ljavafx/scene/layout/Region;
ldc -1.0
invokevirtual javafx.scene.layout.Region.prefWidth:(D)D
dstore 6
start local 6 10: aload 0
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.prefWidth:D
dload 6
dsub
putfield javafx.scene.control.skin.ContextMenuSkin.shiftX:D
11: aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.shiftX:D
dconst_0
dcmpl
ifle 13
aload 1
invokevirtual javafx.scene.control.ContextMenu.getX:()D
dload 6
dadd
aload 3
invokevirtual javafx.geometry.Bounds.getMinX:()D
dcmpg
ifge 13
12: aload 1
aload 1
invokevirtual javafx.scene.control.ContextMenu.getX:()D
aload 0
getfield javafx.scene.control.skin.ContextMenuSkin.shiftX:D
dadd
invokevirtual javafx.scene.control.ContextMenu.setX:(D)V
13: StackMap locals: double
StackMap stack:
return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavafx/scene/control/skin/ContextMenuSkin;
1 14 1 contextMenu Ljavafx/scene/control/ContextMenu;
2 14 2 ownerNode Ljavafx/scene/Node;
4 14 3 ownerBounds Ljavafx/geometry/Bounds;
6 14 4 rootPrefHeight D
10 14 6 rootPrefWidth D
public javafx.scene.control.Skinnable ();
descriptor: ()Ljavafx/scene/control/Skinnable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javafx.scene.control.skin.ContextMenuSkin.getSkinnable:()Ljavafx/scene/control/ContextMenu;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljavafx/scene/control/Skin<Ljavafx/scene/control/ContextMenu;>;
SourceFile: "ContextMenuSkin.java"
NestMembers:
javafx.scene.control.skin.ContextMenuSkin$1 javafx.scene.control.skin.ContextMenuSkin$2 javafx.scene.control.skin.ContextMenuSkin$3 javafx.scene.control.skin.ContextMenuSkin$4 javafx.scene.control.skin.ContextMenuSkin$5
InnerClasses:
javafx.scene.control.skin.ContextMenuSkin$1
javafx.scene.control.skin.ContextMenuSkin$2
javafx.scene.control.skin.ContextMenuSkin$3
javafx.scene.control.skin.ContextMenuSkin$4
javafx.scene.control.skin.ContextMenuSkin$5