PRESENTATION
- The presentation type. Must be compatible with what
getPresentationType()
returns.public abstract class AbstractToColorConverter<PRESENTATION> extends Object implements com.vaadin.data.util.converter.Converter<PRESENTATION,com.vaadin.shared.ui.colorpicker.Color>
Converter
that can convert a Color
to a presentationConstructor and Description |
---|
AbstractToColorConverter(Class<PRESENTATION> presentationType)
Constructs an
AbstractToColorConverter for the given presentation
type |
Modifier and Type | Method and Description |
---|---|
Class<com.vaadin.shared.ui.colorpicker.Color> |
getModelType() |
Class<PRESENTATION> |
getPresentationType() |
public AbstractToColorConverter(Class<PRESENTATION> presentationType)
AbstractToColorConverter
for the given presentation
typepresentationType
- Presentation typepublic Class<com.vaadin.shared.ui.colorpicker.Color> getModelType()
getModelType
in interface com.vaadin.data.util.converter.Converter<PRESENTATION,com.vaadin.shared.ui.colorpicker.Color>
public Class<PRESENTATION> getPresentationType()
getPresentationType
in interface com.vaadin.data.util.converter.Converter<PRESENTATION,com.vaadin.shared.ui.colorpicker.Color>
Copyright © 2015 Max Schuster. All Rights Reserved.