Uses of Interface
com.vaadin.data.Converter
-
Packages that use Converter Package Description com.vaadin.data com.vaadin.data.converter com.vaadin.ui.declarative com.vaadin.ui.declarative.converters -
-
Uses of Converter in com.vaadin.data
Methods in com.vaadin.data that return Converter Modifier and Type Method Description default <T> Converter<PRESENTATION,T>Converter. chain(Converter<MODEL,T> other)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.data with parameters of type Converter Modifier and Type Method Description default <T> Converter<PRESENTATION,T>Converter. chain(Converter<MODEL,T> other)Returns a converter that chains together this converter with the given type-compatible converter.protected <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 givenConverter.<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)ImplementsBinder.BindingBuilderImpl.withConverter(Converter)method with additional possibility to disable (reset) default null representation converter.Constructors in com.vaadin.data with parameters of type Converter Constructor Description 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.data.converter
Classes in com.vaadin.data.converter that implement Converter Modifier and Type Class Description classAbstractStringToNumberConverter<T extends Number>A converter that converts from the number type T toStringand back.classDateToLongConverterclassDateToSqlDateConverterclassLocalDateTimeToDateConverterA converter that converts betweenLocalDateTimeandDate.classLocalDateToDateConverterA converter that converts betweenLocalDateandDate.classStringToBigDecimalConverterA converter that converts fromStringtoBigDecimaland back.classStringToBigIntegerConverterA converter that converts fromStringtoBigIntegerand back.classStringToBooleanConverterclassStringToDateConverterclassStringToDoubleConverterclassStringToFloatConverterclassStringToIntegerConverterclassStringToLongConverterclassStringToUuidConverterMethods in com.vaadin.data.converter that return types with arguments of type Converter Modifier and Type Method Description <P,M>
Optional<Converter<P,M>>ConverterFactory. newInstance(Class<P> presentationType, Class<M> modelType)Attempts to create aConverterinstance, capable to handle conversion between the given presentation and model types.<P,M>
Optional<Converter<P,M>>DefaultConverterFactory. newInstance(Class<P> presentationType, Class<M> modelType) -
Uses of Converter in com.vaadin.ui.declarative
Methods in com.vaadin.ui.declarative that return Converter Modifier and Type Method Description protected <T> Converter<String,T>DesignFormatter. findConverterFor(Class<? extends T> sourceType)Finds a converter for a given type.protected <T> Converter<String,T>DesignFormatter. findConverterFor(Class<? extends T> sourceType, boolean strict)Finds a converter for a given type.Methods in com.vaadin.ui.declarative with parameters of type Converter Modifier and Type Method Description protected <T> voidDesignFormatter. addConverter(Class<?> type, Converter<String,?> converter)Adds a converter for a given type. -
Uses of Converter in com.vaadin.ui.declarative.converters
Classes in com.vaadin.ui.declarative.converters that implement Converter Modifier and Type Class Description classDesignDateConverterA date converter to be used byDesignAttributeHandler.classDesignEnumConverter<T extends Enum>An converter for Enum to/from String forDesignAttributeHandlerto use internally.classDesignLocalDateConverterALocalDateconverter to be used byDesignAttributeHandler.classDesignLocalDateTimeConverterALocalDateconverter to be used byDesignAttributeHandler.classDesignObjectConverterAn converter for Object to/from String forDesignAttributeHandlerto use internally.classDesignResourceConverterA converter forResourceimplementations supported byDesignAttributeHandler.classDesignShortcutActionConverterConverter forShortcutActions.classDesignTimeZoneConverterUtility class forDesignAttributeHandlerthat deals with converting various TimeZones to string.classDesignToStringConverter<TYPE>Utility class forDesignAttributeHandlerthat deals with converting various types to string.
-