class javafx.scene.control.skin.ColorPalette$1 implements javafx.event.EventHandler<javafx.event.ActionEvent>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.skin.ColorPalette$1
super_class: java.lang.Object
{
final javafx.scene.control.skin.ColorPalette this$0;
descriptor: Ljavafx/scene/control/skin/ColorPalette;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final javafx.scene.control.ColorPicker val$colorPicker;
descriptor: Ljavafx/scene/control/ColorPicker;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.control.skin.ColorPalette, javafx.scene.control.ColorPicker);
descriptor: (Ljavafx/scene/control/skin/ColorPalette;Ljavafx/scene/control/ColorPicker;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
aload 0
aload 2
putfield javafx.scene.control.skin.ColorPalette$1.val$colorPicker:Ljavafx/scene/control/ColorPicker;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/skin/ColorPalette$1;
MethodParameters:
Name Flags
this$0 final
val$colorPicker final
public void handle(javafx.event.ActionEvent);
descriptor: (Ljavafx/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
ifnonnull 5
1: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
new com.sun.javafx.scene.control.CustomColorDialog
dup
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.popupControl:Ljavafx/scene/control/PopupControl;
invokespecial com.sun.javafx.scene.control.CustomColorDialog.<init>:(Ljavafx/stage/Window;)V
putfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
2: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.customColorProperty:()Ljavafx/beans/property/ObjectProperty;
aload 0
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.val$colorPicker:Ljavafx/scene/control/ColorPicker;
invokedynamic changed(Ljavafx/scene/control/skin/ColorPalette$1;Ljavafx/scene/control/ColorPicker;)Ljavafx/beans/value/ChangeListener;
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/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V
javafx/scene/control/skin/ColorPalette$1.lambda$0(Ljavafx/scene/control/ColorPicker;Ljavafx/beans/value/ObservableValue;Ljavafx/scene/paint/Color;Ljavafx/scene/paint/Color;)V (7)
(Ljavafx/beans/value/ObservableValue;Ljavafx/scene/paint/Color;Ljavafx/scene/paint/Color;)V
invokevirtual javafx.beans.property.ObjectProperty.addListener:(Ljavafx/beans/value/ChangeListener;)V
3: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
aload 0
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.val$colorPicker:Ljavafx/scene/control/ColorPicker;
invokedynamic run(Ljavafx/scene/control/skin/ColorPalette$1;Ljavafx/scene/control/ColorPicker;)Ljava/lang/Runnable;
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:
()V
javafx/scene/control/skin/ColorPalette$1.lambda$1(Ljavafx/scene/control/ColorPicker;)V (7)
()V
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setOnSave:(Ljava/lang/Runnable;)V
4: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.val$colorPicker:Ljavafx/scene/control/ColorPicker;
invokedynamic run(Ljavafx/scene/control/ColorPicker;)Ljava/lang/Runnable;
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:
()V
javafx/scene/control/skin/ColorPalette$1.lambda$2(Ljavafx/scene/control/ColorPicker;)V (6)
()V
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setOnUse:(Ljava/lang/Runnable;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.val$colorPicker:Ljavafx/scene/control/ColorPicker;
invokevirtual javafx.scene.control.ColorPicker.valueProperty:()Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.get:()Ljava/lang/Object;
checkcast javafx.scene.paint.Color
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setCurrentColor:(Ljavafx/scene/paint/Color;)V
6: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.popupControl:Ljavafx/scene/control/PopupControl;
ifnull 7
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.popupControl:Ljavafx/scene/control/PopupControl;
iconst_0
invokevirtual javafx.scene.control.PopupControl.setAutoHide:(Z)V
7: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.show:()V
8: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
aload 0
invokedynamic handle(Ljavafx/scene/control/skin/ColorPalette$1;)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
javafx/scene/control/skin/ColorPalette$1.lambda$3(Ljavafx/stage/WindowEvent;)V (7)
(Ljavafx/stage/WindowEvent;)V
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setOnHidden:(Ljavafx/event/EventHandler;)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavafx/scene/control/skin/ColorPalette$1;
0 10 1 t Ljavafx/event/ActionEvent;
MethodParameters:
Name Flags
t
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: aload 0
aload 1
checkcast javafx.event.ActionEvent
invokevirtual javafx.scene.control.skin.ColorPalette$1.handle:(Ljavafx/event/ActionEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(javafx.scene.control.ColorPicker, javafx.beans.value.ObservableValue, javafx.scene.paint.Color, javafx.scene.paint.Color);
descriptor: (Ljavafx/scene/control/ColorPicker;Ljavafx/beans/value/ObservableValue;Ljavafx/scene/paint/Color;Ljavafx/scene/paint/Color;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 1
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.customColorProperty:()Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.get:()Ljava/lang/Object;
checkcast javafx.scene.paint.Color
invokevirtual javafx.scene.control.ColorPicker.setValue:(Ljava/lang/Object;)V
1: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/skin/ColorPalette$1;
0 2 2 ov Ljavafx/beans/value/ObservableValue<+Ljavafx/scene/paint/Color;>;
0 2 3 t1 Ljavafx/scene/paint/Color;
0 2 4 t2 Ljavafx/scene/paint/Color;
private void lambda$1(javafx.scene.control.ColorPicker);
descriptor: (Ljavafx/scene/control/ColorPicker;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 0: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.customColorDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.customColorProperty:()Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.get:()Ljava/lang/Object;
checkcast javafx.scene.paint.Color
astore 2
start local 2 1: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
invokevirtual javafx.scene.control.skin.ColorPalette.buildCustomColors:()V
2: aload 1
invokevirtual javafx.scene.control.ColorPicker.getCustomColors:()Ljavafx/collections/ObservableList;
aload 2
invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
aload 2
invokevirtual javafx.scene.control.skin.ColorPalette.updateSelection:(Ljavafx/scene/paint/Color;)V
4: aload 1
new javafx.event.ActionEvent
dup
invokespecial javafx.event.ActionEvent.<init>:()V
invokestatic javafx.event.Event.fireEvent:(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V
5: aload 1
invokevirtual javafx.scene.control.ColorPicker.hide:()V
end local 2 6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/control/skin/ColorPalette$1;
1 6 2 customColor Ljavafx/scene/paint/Color;
private static void lambda$2(javafx.scene.control.ColorPicker);
descriptor: (Ljavafx/scene/control/ColorPicker;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: aload 0
new javafx.event.ActionEvent
dup
invokespecial javafx.event.ActionEvent.<init>:()V
invokestatic javafx.event.Event.fireEvent:(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V
1: aload 0
invokevirtual javafx.scene.control.ColorPicker.hide:()V
2: return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$3(javafx.stage.WindowEvent);
descriptor: (Ljavafx/stage/WindowEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.popupControl:Ljavafx/scene/control/PopupControl;
ifnull 1
aload 0
getfield javafx.scene.control.skin.ColorPalette$1.this$0:Ljavafx/scene/control/skin/ColorPalette;
getfield javafx.scene.control.skin.ColorPalette.popupControl:Ljavafx/scene/control/PopupControl;
iconst_1
invokevirtual javafx.scene.control.PopupControl.setAutoHide:(Z)V
1: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/skin/ColorPalette$1;
0 2 1 event Ljavafx/stage/WindowEvent;
}
Signature: Ljava/lang/Object;Ljavafx/event/EventHandler<Ljavafx/event/ActionEvent;>;
SourceFile: "ColorPalette.java"
EnclosingMethod: javafx.scene.control.skin.ColorPalette.<init>:(Ljavafx/scene/control/ColorPicker;)V
NestHost: javafx.scene.control.skin.ColorPalette
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
javafx.scene.control.skin.ColorPalette$1