processing.app.tools

## Class ColorSelector

- Object
- - ColorSelector

- All Implemented Interfaces:
    Runnable, EventListener, DocumentListener, Tool

      public class ColorSelector
      extends Object
      implements Tool, DocumentListener

  Color selector tool for the Tools menu.

  Using the keyboard shortcuts, you can copy/paste the values for the colors and paste them into your program. We didn't do any sort of auto-insert of colorMode() or fill() or stroke() code cuz we couldn't decide on a good way to do this.. your contributions welcome).

- - ### Nested Class Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ColorSelector()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `changedUpdate(DocumentEvent e)`
    `String` | `getMenuTitle()`
    `void` | `init(Editor editor)`
    `void` | `insertUpdate(DocumentEvent e)`
    `void` | `removeUpdate(DocumentEvent e)`
    `void` | `run()`

    - ### Methods inherited from class Object

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

- - ### Constructor Detail

    - #### ColorSelector

          public ColorSelector()

  - ### Method Detail

    - #### getMenuTitle

          public String getMenuTitle()

      Specified by:
        `getMenuTitle` in interface `Tool`

    - #### init

          public void init(Editor editor)

      Specified by:
        `init` in interface `Tool`

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`
      Specified by:
        `run` in interface `Tool`

    - #### changedUpdate

          public void changedUpdate(DocumentEvent e)

      Specified by:
        `changedUpdate` in interface `DocumentListener`

    - #### removeUpdate

          public void removeUpdate(DocumentEvent e)

      Specified by:
        `removeUpdate` in interface `DocumentListener`

    - #### insertUpdate

          public void insertUpdate(DocumentEvent e)

      Specified by:
        `insertUpdate` in interface `DocumentListener`