artofillusion.ui
Class ColorChooser

java.lang.Object
  extended by BDialog
      extended by 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.


Constructor Summary
ColorChooser(BFrame parent, java.lang.String title, RGBColor c)
           
ColorChooser(BFrame parent, java.lang.String title, RGBColor c, boolean show)
           
 
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
 

Constructor Detail

ColorChooser

public ColorChooser(BFrame parent,
                    java.lang.String title,
                    RGBColor c)

ColorChooser

public ColorChooser(BFrame parent,
                    java.lang.String title,
                    RGBColor c,
                    boolean show)
Method Detail

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.