Package com.formdev.flatlaf.themeeditor
Class FlatColorPipette
java.lang.Object
com.formdev.flatlaf.themeeditor.FlatColorPipette
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
An invisible window used to receive mouse and keyboard events for the whole screen.private static class
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FlatColorPipette
FlatColorPipette()
-
-
Method Details
-
pick
static void pick(Window owner, boolean modal, Consumer<Color> hoverCallback, Consumer<Color> pickCallback) throws AWTException, UnsupportedOperationException - Throws:
AWTException
- if platform does not allow using robot (e.g. if headless)UnsupportedOperationException
- if platform does not support translucent window
-