Uses of Interface
com.vaadin.flow.data.converter.Converter
-
Uses of Converter in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine with parameters of type ConverterModifier and TypeMethodDescriptionprotected <FIELDVALUE,
TARGET>
Binder.BindingBuilder<BEAN,TARGET> CollaborationBinder.doCreateBinding
(HasValue<?, FIELDVALUE> field, Converter<FIELDVALUE, TARGET> converter, BindingValidationStatusHandler handler) protected <NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET> CollaborationBinder.CollaborationBindingBuilderImpl.withConverter
(Converter<TARGET, NEWTARGET> converter, boolean resetNullRepresentation) Constructors in com.vaadin.collaborationengine with parameters of type ConverterModifierConstructorDescriptionprotected
CollaborationBindingBuilderImpl
(CollaborationBinder<BEAN> binder, HasValue<?, FIELDVALUE> field, Converter<FIELDVALUE, TARGET> converterValidatorChain, BindingValidationStatusHandler statusHandler) -
Uses of Converter in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder with parameters of type ConverterModifier and TypeMethodDescriptionprotected <FIELDVALUE,
TARGET>
Binder.BindingBuilder<BEAN,TARGET> Binder.createBinding
(HasValue<?, FIELDVALUE> field, Converter<FIELDVALUE, TARGET> converter, BindingValidationStatusHandler handler) Creates a new binding with the given field.
protected <FIELDVALUE,
TARGET>
Binder.BindingBuilder<BEAN,TARGET> Binder.doCreateBinding
(HasValue<?, FIELDVALUE> field, Converter<FIELDVALUE, TARGET> converter, BindingValidationStatusHandler handler) <NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET> Binder.BindingBuilder.withConverter
(Converter<TARGET, NEWTARGET> converter) Maps the binding to another data type using the given
Converter
.<NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET> Binder.BindingBuilderImpl.withConverter
(Converter<TARGET, NEWTARGET> converter) protected <NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET> Binder.BindingBuilderImpl.withConverter
(Converter<TARGET, NEWTARGET> converter, boolean resetNullRepresentation) Implements
Binder.BindingBuilderImpl.withConverter(Converter)
method with additional possibility to disable (reset) default null representation converter.Constructors in com.vaadin.flow.data.binder with parameters of type ConverterModifierConstructorDescriptionprotected
BindingBuilderImpl
(Binder<BEAN> binder, HasValue<?, FIELDVALUE> field, Converter<FIELDVALUE, TARGET> converterValidatorChain, BindingValidationStatusHandler statusHandler) Creates a new binding builder associated with the given field.
-
Uses of Converter in com.vaadin.flow.data.converter
Classes in com.vaadin.flow.data.converter that implement ConverterModifier and TypeClassDescriptionclass
AbstractStringToNumberConverter<T extends Number>
A converter that converts from the number type T to
String
and back.class
A converter that converts from
BigDecimal
toDouble
and back.class
A converter that converts from
BigDecimal
toFloat
and back.class
A converter that converts from
BigDecimal
toInteger
and back.class
A converter that converts from
BigDecimal
toLong
and back.class
class
class
A converter that converts from
Double
toBigDecimal
and back.class
A converter that converts from
Float
toBigDecimal
and back.class
class
A converter that converts from
Integer
toBigDecimal
and back.class
class
class
A converter that converts between
LocalDateTime
andDate
.class
A converter that converts between
LocalDateTime
andInstant
.class
A converter that converts between
LocalDate
andDate
.class
A converter that converts from
Long
toBigDecimal
and back.class
A converter that converts from
String
toBigDecimal
and back.class
A converter that converts from
String
toBigInteger
and back.class
class
class
class
class
class
class
Methods in com.vaadin.flow.data.converter that return ConverterModifier and TypeMethodDescriptiondefault <T> Converter<PRESENTATION,
T> Returns a converter that chains together this converter with the given type-compatible converter.
static <P,
M> Converter<P, M> Converter.from
(SerializableFunction<P, Result<M>> toModel, SerializableFunction<M, P> toPresentation) Constructs a converter from a filter and a function.
static <P,
M> Converter<P, M> Converter.from
(SerializableFunction<P, M> toModel, SerializableFunction<M, P> toPresentation, SerializableFunction<Exception, String> onError) Constructs a converter from two functions.
static <T> Converter<T,
T> Converter.identity()
Returns a converter that returns its input as-is in both directions.
Methods in com.vaadin.flow.data.converter that return types with arguments of type ConverterModifier and TypeMethodDescriptionConverterFactory.newInstance
(Class<P> presentationType, Class<M> modelType) Attempts to create a
Converter
instance, capable to handle conversion between the given presentation and model types.DefaultConverterFactory.newInstance
(Class<P> presentationType, Class<M> modelType) Methods in com.vaadin.flow.data.converter with parameters of type ConverterModifier and TypeMethodDescriptiondefault <T> Converter<PRESENTATION,
T> Returns a converter that chains together this converter with the given type-compatible converter.