java.lang.Object
ij.gui.ColorChooser
- All Implemented Interfaces:
AdjustmentListener,TextListener,EventListener
Displays a dialog that allows the user to select a color using three sliders.
-
Constructor Summary
ConstructorsConstructorDescriptionColorChooser(String title, Color initialColor, boolean useHSB) Constructs a ColorChooser using the specified title and initial color.ColorChooser(String title, Color initialColor, boolean useHSB, Frame frame) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetColor()Displays a color selection dialog and returns the color selected by the user.void
-
Constructor Details
-
ColorChooser
Constructs a ColorChooser using the specified title and initial color. -
ColorChooser
-
-
Method Details
-
getColor
Displays a color selection dialog and returns the color selected by the user. -
textValueChanged
- Specified by:
textValueChangedin interfaceTextListener
-
adjustmentValueChanged
- Specified by:
adjustmentValueChangedin interfaceAdjustmentListener
-