Interface NullableColorSelectionModel
- All Superinterfaces:
ColorSelectionModel
- All Known Implementing Classes:
DefaultNullableColorSelectionModel
ColorSelectionModel
that allows for null colors.
Implementors of this class are expected to fulfill the following when isUsingNullColor()
is true::
1. ColorSelectionModel.setSelectedColor(Color)
will not ignore the value of null, when passed.
2. ColorSelectionModel.getSelectedColor()
will return null if null is the currently selected color.
When isUsingNullColor()
is false, then null colors will be ignored like the default functionality of
DefaultColorSelectionModel
.-
Method Summary
Methods inherited from interface javax.swing.colorchooser.ColorSelectionModel
addChangeListener, getSelectedColor, removeChangeListener, setSelectedColor
-
Method Details
-
isUsingNullColor
boolean isUsingNullColor()
-