| 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.
|
| Modifier and Type | Method and Description |
|---|---|
ColorSelectionModel |
JColorChooser.getSelectionModel()
Returns the data model that handles color selections.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JColorChooser.setSelectionModel(ColorSelectionModel
Sets the model containing the selected color.
|
| Constructor and Description | |
|---|---|
JColorChooser(ColorSelectionModel
Creates a color chooser pane with the specified
ColorSelectionModel.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultColorSelectionModel
A generic implementation of
ColorSelectionModel.
|
| Modifier and Type | Method and Description |
|---|---|
ColorSelectionModel |
AbstractColorChooserPanel.getColorSelectionModel()
Returns the model that the chooser panel is editing.
|