Class DefaultNullableColorSelectionModel
java.lang.Object
javax.swing.colorchooser.DefaultColorSelectionModel
com.inductiveautomation.ignition.client.util.gui.color.DefaultNullableColorSelectionModel
- All Implemented Interfaces:
NullableColorSelectionModel
,Serializable
,ColorSelectionModel
public class DefaultNullableColorSelectionModel
extends DefaultColorSelectionModel
implements NullableColorSelectionModel
Default implementation of
NullableColorSelectionModel
. This class can be instantiated to use or not use
null colors.- See Also:
-
Field Summary
Fields inherited from class javax.swing.colorchooser.DefaultColorSelectionModel
changeEvent, listenerList
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.colorchooser.DefaultColorSelectionModel
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.colorchooser.ColorSelectionModel
addChangeListener, removeChangeListener
-
Constructor Details
-
DefaultNullableColorSelectionModel
public DefaultNullableColorSelectionModel(boolean useNullColor)
-
-
Method Details
-
getSelectedColor
- Specified by:
getSelectedColor
in interfaceColorSelectionModel
- Overrides:
getSelectedColor
in classDefaultColorSelectionModel
-
setSelectedColor
- Specified by:
setSelectedColor
in interfaceColorSelectionModel
- Overrides:
setSelectedColor
in classDefaultColorSelectionModel
-
isUsingNullColor
public boolean isUsingNullColor()- Specified by:
isUsingNullColor
in interfaceNullableColorSelectionModel
-