public final class com.sun.webkit.ColorChooser
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.ColorChooser
super_class: java.lang.Object
{
private static final double COLOR_DOUBLE_TO_UCHAR_FACTOR;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 255.0
private final com.sun.javafx.scene.control.CustomColorDialog colorChooserDialog;
descriptor: Lcom/sun/javafx/scene/control/CustomColorDialog;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long pdata;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/webkit/ColorChooser;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.webkit.ColorChooser.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.sun.webkit.WebPage, javafx.scene.paint.Color, long);
descriptor: (Lcom/sun/webkit/WebPage;Ljavafx/scene/paint/Color;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 3
putfield com.sun.webkit.ColorChooser.pdata:J
2: aload 1
invokevirtual com.sun.webkit.WebPage.getPageClient:()Lcom/sun/webkit/WebPageClient;
astore 5
start local 5 3: getstatic com.sun.webkit.ColorChooser.$assertionsDisabled:Z
ifne 4
aload 5
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: com.sun.webkit.ColorChooser com.sun.webkit.WebPage javafx.scene.paint.Color long com.sun.webkit.WebPageClient
StackMap stack:
aload 0
new com.sun.javafx.scene.control.CustomColorDialog
dup
aload 5
invokeinterface com.sun.webkit.WebPageClient.getContainer:()Ljava/lang/Object;
checkcast javafx.scene.web.WebView
invokevirtual javafx.scene.web.WebView.getScene:()Ljavafx/scene/Scene;
invokevirtual javafx.scene.Scene.getWindow:()Ljavafx/stage/Window;
invokespecial com.sun.javafx.scene.control.CustomColorDialog.<init>:(Ljavafx/stage/Window;)V
putfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
5: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setSaveBtnToOk:()V
6: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
iconst_0
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setShowUseBtn:(Z)V
7: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
iconst_0
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setShowOpacitySlider:(Z)V
8: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
aload 0
invokedynamic run(Lcom/sun/webkit/ColorChooser;)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
com/sun/webkit/ColorChooser.lambda$0()V (7)
()V
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setOnSave:(Ljava/lang/Runnable;)V
9: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
aload 2
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setCurrentColor:(Ljavafx/scene/paint/Color;)V
10: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.show:()V
11: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/webkit/ColorChooser;
0 12 1 webPage Lcom/sun/webkit/WebPage;
0 12 2 color Ljavafx/scene/paint/Color;
0 12 3 data J
3 12 5 client Lcom/sun/webkit/WebPageClient<Ljavafx/scene/web/WebView;>;
MethodParameters:
Name Flags
webPage
color
data
private static com.sun.webkit.ColorChooser fwkCreateAndShowColorChooser(com.sun.webkit.WebPage, int, int, int, long);
descriptor: (Lcom/sun/webkit/WebPage;IIIJ)Lcom/sun/webkit/ColorChooser;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new com.sun.webkit.ColorChooser
dup
aload 0
iload 1
iload 2
iload 3
invokestatic javafx.scene.paint.Color.rgb:(III)Ljavafx/scene/paint/Color;
lload 4
invokespecial com.sun.webkit.ColorChooser.<init>:(Lcom/sun/webkit/WebPage;Ljavafx/scene/paint/Color;J)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 webPage Lcom/sun/webkit/WebPage;
0 1 1 r I
0 1 2 g I
0 1 3 b I
0 1 4 pdata J
MethodParameters:
Name Flags
webPage
r
g
b
pdata
private void fwkShowColorChooser(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
iload 1
iload 2
iload 3
invokestatic javafx.scene.paint.Color.rgb:(III)Ljavafx/scene/paint/Color;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.setCurrentColor:(Ljavafx/scene/paint/Color;)V
1: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.show:()V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/webkit/ColorChooser;
0 3 1 r I
0 3 2 g I
0 3 3 b I
MethodParameters:
Name Flags
r
g
b
private void fwkHideColorChooser();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.hide:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/ColorChooser;
private native void twkSetSelectedColor(long, int, int, int);
descriptor: (JIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
data
r
g
b
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.webkit.ColorChooser.pdata:J
1: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.getCustomColor:()Ljavafx/scene/paint/Color;
invokevirtual javafx.scene.paint.Color.getRed:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
l2i
2: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.getCustomColor:()Ljavafx/scene/paint/Color;
invokevirtual javafx.scene.paint.Color.getGreen:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
l2i
3: aload 0
getfield com.sun.webkit.ColorChooser.colorChooserDialog:Lcom/sun/javafx/scene/control/CustomColorDialog;
invokevirtual com.sun.javafx.scene.control.CustomColorDialog.getCustomColor:()Ljavafx/scene/paint/Color;
invokevirtual javafx.scene.paint.Color.getBlue:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
l2i
4: invokevirtual com.sun.webkit.ColorChooser.twkSetSelectedColor:(JIII)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/webkit/ColorChooser;
}
SourceFile: "ColorChooser.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles