Interface NullableColorSelectionModel

All Superinterfaces:
ColorSelectionModel
All Known Implementing Classes:
DefaultNullableColorSelectionModel

public interface NullableColorSelectionModel extends ColorSelectionModel
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 Details

    • isUsingNullColor

      boolean isUsingNullColor()