processing.app

## Class ColorChooser

- Object
- - ColorChooser

-     public class ColorChooser
      extends Object

  Generic color selector frame, pulled from the Tool object. API not really worked out here (what should the constructor be? how flexible?) So use with caution and be ready for it to break in future releases.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ColorChooser.ColorListener`
    `class` | `ColorChooser.ColorRange`
    `class` | `ColorChooser.ColorSlider`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ColorChooser(Frame owner, boolean modal, Color initialColor, String buttonName, ActionListener buttonListener)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Color` | `getColor()`
    `String` | `getHexColor()`
    `void` | `hide()`
    `void` | `setColor(Color color)`
    `void` | `show()`

    - ### Methods inherited from class Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ColorChooser

          public ColorChooser(Frame owner,
                              boolean modal,
                              Color initialColor,
                              String buttonName,
                              ActionListener buttonListener)

  - ### Method Detail

    - #### show

          public void show()

    - #### hide

          public void hide()

    - #### getColor

          public Color getColor()

    - #### setColor

          public void setColor(Color color)

    - #### getHexColor

          public String getHexColor()