com.vaadin.ui.components.colorpicker
Interface ColorSelector

All Superinterfaces:
HasColorChangeListener, java.io.Serializable
All Known Implementing Classes:
AbstractColorPicker, ColorPicker, ColorPickerArea, ColorPickerGradient, ColorPickerGrid, ColorPickerHistory, ColorPickerPopup, ColorPickerPreview, ColorPickerSelect

public interface ColorSelector
extends java.io.Serializable, HasColorChangeListener

An interface for a color selector.

Since:
7.0.0

Method Summary
 com.vaadin.shared.ui.colorpicker.Color getColor()
          Gets the color.
 void setColor(com.vaadin.shared.ui.colorpicker.Color color)
          Sets the color.
 
Methods inherited from interface com.vaadin.ui.components.colorpicker.HasColorChangeListener
addColorChangeListener, removeColorChangeListener
 

Method Detail

setColor

void setColor(com.vaadin.shared.ui.colorpicker.Color color)
Sets the color.

Parameters:
color - the new color

getColor

com.vaadin.shared.ui.colorpicker.Color getColor()
Gets the color.

Returns:
the color


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.