public class RgbaToColorConverter extends AbstractRgbaColorConverter<String,com.vaadin.shared.ui.colorpicker.Color>
Converter
that can convert a Color
to CSS rgba() color
notation and backConstructor and Description |
---|
RgbaToColorConverter() |
Modifier and Type | Method and Description |
---|---|
com.vaadin.shared.ui.colorpicker.Color |
convertToModel(String value,
Class<? extends com.vaadin.shared.ui.colorpicker.Color> targetType,
Locale locale) |
String |
convertToPresentation(com.vaadin.shared.ui.colorpicker.Color value,
Class<? extends String> targetType,
Locale locale) |
doubleToInt, intToDouble, parseAlpha, serializeColor, unserializeColor
parseColor
getModelType, getPresentationType
public com.vaadin.shared.ui.colorpicker.Color convertToModel(String value, Class<? extends com.vaadin.shared.ui.colorpicker.Color> targetType, Locale locale) throws com.vaadin.data.util.converter.Converter.ConversionException
com.vaadin.data.util.converter.Converter.ConversionException
Copyright © 2015 Max Schuster. All Rights Reserved.