## Uses of Interface
javax.swing.colorchooser.ColorSelectionModel

- Packages that use ColorSelectionModel
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.colorchooser | Contains classes and interfaces used by the `JColorChooser` component.

- - ### Uses of ColorSelectionModel in javax.swing

    Methods in javax.swing that return ColorSelectionModel
    Modifier and Type | Method and Description
    --- | ---
    `ColorSelectionModel` | JColorChooser.`getSelectionModel()` Returns the data model that handles color selections.

    Methods in javax.swing with parameters of type ColorSelectionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JColorChooser.`setSelectionModel(ColorSelectionModel newModel)` Sets the model containing the selected color.

    Constructors in javax.swing with parameters of type ColorSelectionModel
    Constructor and Description
    `JColorChooser(ColorSelectionModel model)` Creates a color chooser pane with the specified `ColorSelectionModel`.

  - ### Uses of ColorSelectionModel in javax.swing.colorchooser

    Classes in javax.swing.colorchooser that implement ColorSelectionModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultColorSelectionModel` A generic implementation of `ColorSelectionModel`.

    Methods in javax.swing.colorchooser that return ColorSelectionModel
    Modifier and Type | Method and Description
    --- | ---
    `ColorSelectionModel` | AbstractColorChooserPanel.`getColorSelectionModel()` Returns the model that the chooser panel is editing.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.