public interface ColorSelection
| Modifier and Type | Method and Description |
|---|---|
void |
addColorSelectionListener(ColorSelectionListener colorSelectionListener)
Add the given
ColorSelectionListener to be informed about
changes in this selection |
Color |
getColor()
Returns the selected color.
|
void |
removeColorSelectionListener(ColorSelectionListener colorSelectionListener)
Remove the given
ColorSelectionListener |
void |
setColor(Color color)
Set the selected color.
|
Color getColor()
null if no
color is selected.void setColor(Color color)
null if no color
should be selectedcolor - The colorvoid addColorSelectionListener(ColorSelectionListener colorSelectionListener)
ColorSelectionListener to be informed about
changes in this selectioncolorSelectionListener - The ColorSelectionListenervoid removeColorSelectionListener(ColorSelectionListener colorSelectionListener)
ColorSelectionListenercolorSelectionListener - The ColorSelectionListenerCopyright © 2018. All rights reserved.