Top Fields Constructors Methods
com.sun.webkit

public final Class ColorChooser

extends Object
Class Inheritance
Imports
com.sun.javafx.scene.control.CustomColorDialog, javafx.scene.paint.Color, javafx.scene.web.WebView

Field Summary

Modifier and TypeField and Description
private static final double
COLOR_DOUBLE_TO_UCHAR_FACTOR

Color conversion from double (0.0 to 1.0) to uchar (0 to 255)

private final CustomColorDialog
colorChooserDialog

Color chooser dialog

private final long
pdata

Handle / pointer to native object

Constructor Summary

AccessConstructor and Description
private
ColorChooser(WebPage webPage, Color color, long data)

Method Summary

Modifier and TypeMethod and Description
private static ColorChooser
fwkCreateAndShowColorChooser(WebPage webPage, int r, int g, int b, long pdata)

private void
private void
fwkShowColorChooser(int r, int g, int b)

private native void
twkSetSelectedColor(long data, int r, int g, int b)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COLOR_DOUBLE_TO_UCHAR_FACTORback to summary
private static final double COLOR_DOUBLE_TO_UCHAR_FACTOR

Color conversion from double (0.0 to 1.0) to uchar (0 to 255)

colorChooserDialogback to summary
private final CustomColorDialog colorChooserDialog

Color chooser dialog

pdataback to summary
private final long pdata

Handle / pointer to native object

Constructor Detail

ColorChooserback to summary
private ColorChooser(WebPage webPage, Color color, long data)

Method Detail

fwkCreateAndShowColorChooserback to summary
private static ColorChooser fwkCreateAndShowColorChooser(WebPage webPage, int r, int g, int b, long pdata)
fwkHideColorChooserback to summary
private void fwkHideColorChooser()
fwkShowColorChooserback to summary
private void fwkShowColorChooser(int r, int g, int b)
twkSetSelectedColorback to summary
private native void twkSetSelectedColor(long data, int r, int g, int b)