| Package | Description |
|---|---|
| com.vaadin.v7.data.util.converter | |
| com.vaadin.v7.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStringToNumberConverter<T>
Deprecated.
|
class |
DateToLongConverter
Deprecated.
|
class |
DateToSqlDateConverter
Deprecated.
|
class |
ReverseConverter<PRESENTATION,MODEL>
Deprecated.
As of 8.0, no direct replacement available.
|
class |
StringToBigDecimalConverter
Deprecated.
|
class |
StringToBigIntegerConverter
Deprecated.
|
class |
StringToBooleanConverter
Deprecated.
|
class |
StringToByteConverter
Deprecated.
As of 8.0, a lightweight lambda-based converter can be build with
Binder.forField(...).withConverter(...) methods. |
class |
StringToCollectionConverter
Deprecated.
As of 8.0, a lightweight lambda-based converter can be build with
Binder.forField(...).withConverter(...) methods. |
class |
StringToDateConverter
Deprecated.
|
class |
StringToDoubleConverter
Deprecated.
|
class |
StringToEnumConverter
Deprecated.
As of 8.0, a lightweight lambda-based converter can be build with
Binder.forField(...).withConverter(...) methods. |
class |
StringToFloatConverter
Deprecated.
|
class |
StringToIntegerConverter
Deprecated.
|
class |
StringToLongConverter
Deprecated.
|
class |
StringToShortConverter
Deprecated.
As of 8.0, no direct replacement available, see
StringToIntegerConverter |
| Modifier and Type | Method and Description |
|---|---|
<PRESENTATION,MODEL> |
DefaultConverterFactory.createConverter(Class<PRESENTATION> presentationType,
Class<MODEL> modelType)
Deprecated.
|
<PRESENTATION,MODEL> |
ConverterFactory.createConverter(Class<PRESENTATION> presentationType,
Class<MODEL> modelType)
Deprecated.
|
protected Converter<Date,?> |
DefaultConverterFactory.createDateConverter(Class<?> sourceType)
Deprecated.
|
protected Converter<String,?> |
DefaultConverterFactory.createStringConverter(Class<?> sourceType)
Deprecated.
|
protected <PRESENTATION,MODEL> |
DefaultConverterFactory.findConverter(Class<PRESENTATION> presentationType,
Class<MODEL> modelType)
Deprecated.
|
static <PRESENTATIONTYPE,MODELTYPE> |
ConverterUtil.getConverter(Class<PRESENTATIONTYPE> presentationType,
Class<MODELTYPE> modelType,
VaadinSession session)
Deprecated.
Finds a converter that can convert from the given presentation type to
the given model type and back.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConverterUtil.canConverterHandle(Converter<?,?> converter,
Class<?> presentationType,
Class<?> modelType)
Deprecated.
Checks if the given converter can handle conversion between the given
presentation and model type.
|
static boolean |
ConverterUtil.canConverterPossiblyHandle(Converter<?,?> converter,
Class<?> presentationType,
Class<?> modelType)
Deprecated.
Checks if it possible that the given converter can handle conversion
between the given presentation and model type somehow.
|
static <PRESENTATIONTYPE,MODELTYPE> |
ConverterUtil.convertFromModel(MODELTYPE modelValue,
Class<? extends PRESENTATIONTYPE> presentationType,
Converter<PRESENTATIONTYPE,MODELTYPE> converter,
Locale locale)
Deprecated.
Convert the given value from the data source type to the UI type.
|
static <MODELTYPE,PRESENTATIONTYPE> |
ConverterUtil.convertToModel(PRESENTATIONTYPE presentationValue,
Class<MODELTYPE> modelType,
Converter<PRESENTATIONTYPE,MODELTYPE> converter,
Locale locale)
Deprecated.
Convert the given value from the presentation (UI) type to model (data
source) type.
|
| Constructor and Description |
|---|
ReverseConverter(Converter<MODEL,PRESENTATION> converter)
Deprecated.
Creates a converter from source to target based on a converter that
converts from target to source.
|
StringToCollectionConverter(Converter<String,?> tokenConverter,
Class<?> tokenType)
Deprecated.
Creates converter with given
tokenConverter for convert tokens
and expected tokenType. |
StringToCollectionConverter(String delimiter,
Converter<String,?> tokenConverter,
Class<?> tokenClass)
Deprecated.
Creates converter with given
tokenConverter for convert tokens
and expected tokenType. |
StringToCollectionConverter(String delimiter,
Converter<String,?> tokenConverter,
Class<?> tokenClass,
StringToCollectionConverter.CollectionFactory factory)
Deprecated.
Creates converter with given
tokenConverter for convert tokens
and expected tokenType. |
| Modifier and Type | Method and Description |
|---|---|
Converter<String,Object> |
Label.getConverter()
Deprecated.
Gets the converter used to convert the property data source value to the
label value.
|
Converter<?,?> |
Grid.Column.getConverter()
Deprecated.
Returns the converter instance used by this column.
|
Converter<T,Object> |
AbstractField.getConverter()
Deprecated.
Gets the converter used to convert the property data source value to the
field value.
|
Converter<String,Object> |
Table.getConverter(Object propertyId)
Deprecated.
Returns the converter used to format the given propertyId.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> elemental.json.JsonValue |
Grid.AbstractRenderer.encodeValue(Object modelValue,
Renderer<T> renderer,
Converter<?,?> converter,
Locale locale)
Deprecated.
Converts and encodes the given data model property value using the
given converter and renderer.
|
Grid.Column |
Grid.Column.setConverter(Converter<?,?> converter)
Deprecated.
Sets the converter used to convert from the property value type to
the renderer presentation type.
|
void |
Label.setConverter(Converter<String,?> converter)
Deprecated.
Sets the converter used to convert the label value to the property data
source type.
|
void |
AbstractField.setConverter(Converter<T,?> converter)
Deprecated.
Sets the converter used to convert the field value to property data
source type.
|
void |
Table.setConverter(Object propertyId,
Converter<String,?> converter)
Deprecated.
Sets a converter for a property id.
|
<T> Grid.Column |
Grid.Column.setRenderer(Renderer<T> renderer,
Converter<? extends T,?> converter)
Deprecated.
Sets the renderer for this column and the converter used to convert
from the property value type to the renderer presentation type.
|
Copyright © 2019 Vaadin Ltd. All rights reserved.