Uses of Interface
com.vaadin.data.util.converter.Converter

Packages that use Converter
com.vaadin.data.util.converter   
com.vaadin.ui   
 

Uses of Converter in com.vaadin.data.util.converter
 

Classes in com.vaadin.data.util.converter that implement Converter
 class DateToLongConverter
          A converter that converts from Long to Date and back.
 class ReverseConverter<PRESENTATION,MODEL>
          A converter that wraps another Converter and reverses source and target types.
 class StringToBooleanConverter
          A converter that converts from String to Boolean and back.
 class StringToDateConverter
          A converter that converts from Date to String and back.
 class StringToDoubleConverter
          A converter that converts from String to Double and back.
 class StringToIntegerConverter
          A converter that converts from String to Integer and back.
 class StringToNumberConverter
          A converter that converts from Number to String and back.
 

Methods in com.vaadin.data.util.converter that return Converter
<PRESENTATION,MODEL>
Converter<PRESENTATION,MODEL>
DefaultConverterFactory.createConverter(Class<PRESENTATION> presentationType, Class<MODEL> modelType)
           
<PRESENTATION,MODEL>
Converter<PRESENTATION,MODEL>
ConverterFactory.createConverter(Class<PRESENTATION> presentationType, Class<MODEL> modelType)
           
protected  Converter<Date,?> DefaultConverterFactory.createDateConverter(Class<?> sourceType)
           
protected  Converter<String,?> DefaultConverterFactory.createStringConverter(Class<?> sourceType)
           
protected
<PRESENTATION,MODEL>
Converter<PRESENTATION,MODEL>
DefaultConverterFactory.findConverter(Class<PRESENTATION> presentationType, Class<MODEL> modelType)
           
static
<PRESENTATIONTYPE,MODELTYPE>
Converter<PRESENTATIONTYPE,MODELTYPE>
ConverterUtil.getConverter(Class<PRESENTATIONTYPE> presentationType, Class<MODELTYPE> modelType, Application application)
          Finds a converter that can convert from the given presentation type to the given model type and back.
 

Methods in com.vaadin.data.util.converter with parameters of type Converter
static boolean ConverterUtil.canConverterHandle(Converter<?,?> converter, Class<?> presentationType, Class<?> modelType)
          Checks if the given converter can handle conversion between the given presentation and model type
static
<PRESENTATIONTYPE,MODELTYPE>
PRESENTATIONTYPE
ConverterUtil.convertFromModel(MODELTYPE modelValue, Class<? extends PRESENTATIONTYPE> presentationType, Converter<PRESENTATIONTYPE,MODELTYPE> converter, Locale locale)
          Convert the given value from the data source type to the UI type.
static
<MODELTYPE,PRESENTATIONTYPE>
MODELTYPE
ConverterUtil.convertToModel(PRESENTATIONTYPE presentationValue, Class<MODELTYPE> modelType, Converter<PRESENTATIONTYPE,MODELTYPE> converter, Locale locale)
           
 

Constructors in com.vaadin.data.util.converter with parameters of type Converter
ReverseConverter(Converter<MODEL,PRESENTATION> converter)
          Creates a converter from source to target based on a converter that converts from target to source.
 

Uses of Converter in com.vaadin.ui
 

Methods in com.vaadin.ui that return Converter
 Converter<String,Object> Label.getConverter()
          Gets the converter used to convert the property data source value to the label value.
 Converter<T,Object> AbstractField.getConverter()
          Gets the converter used to convert the property data source value to the field value.
 Converter<String,Object> Table.getConverter(Object propertyId)
          Returns the converter used to format the given propertyId.
 

Methods in com.vaadin.ui with parameters of type Converter
 void Label.setConverter(Converter<String,?> converter)
          Sets the converter used to convert the label value to the property data source type.
 void AbstractField.setConverter(Converter<T,?> converter)
          Sets the converter used to convert the field value to property data source type.
 void Table.setConverter(Object propertyId, Converter<String,?> converter)
          Sets a converter for a property id.
 



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