javax.swing.colorchooser
public interface ColorSelectionModel
Method Summary | |
---|---|
void | addChangeListener(ChangeListener listener)
Registers a listener to receive {@link ChangeEvent} notifications
from this model.
|
Color | getSelectedColor()
Returns the selected color.
|
void | removeChangeListener(ChangeListener listener)
Deregisters a listener so that it no longer receives {@link ChangeEvent}
notifications from this action.
|
void | setSelectedColor(Color color)
Sets the selected color.
|
Parameters: listener the listener.
Returns: The selected color.
Parameters: listener the listener.
Parameters: color the selected color.