artofillusion.ui
Class ColorChooser
java.lang.Object
BDialog
artofillusion.ui.ColorChooser
public class ColorChooser
- extends BDialog
ColorChooser is a BDialog in which the user can edit an RGBColor object. It allows the
color to be specified using the RGB, HSV, or HLS color models.
Method Summary |
boolean |
clickedOk()
Determine whether the user dismissed the window by clicking OK or Cancel. |
RGBColor |
getColor()
Get the color which is currently specified in the window. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorChooser
public ColorChooser(BFrame parent,
java.lang.String title,
RGBColor c)
ColorChooser
public ColorChooser(BFrame parent,
java.lang.String title,
RGBColor c,
boolean show)
getColor
public RGBColor getColor()
- Get the color which is currently specified in the window.
clickedOk
public boolean clickedOk()
- Determine whether the user dismissed the window by clicking OK or Cancel.
Copyright © 1999-2011 by Peter Eastman.