We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
Uses of Class
com.vaadin.flow.data.binder.ValueContext
Packages that use ValueContext
Package
Description
-
Uses of ValueContext in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return ValueContextModifier and TypeMethodDescriptionprotected ValueContext
Binder.BindingImpl.createValueContext()
Creates a value context from the current state of the binding and its field.
Methods in com.vaadin.flow.data.binder with parameters of type ValueContextModifier and TypeMethodDescriptionErrorMessageProvider.apply
(ValueContext context) Returns a generated error message for given
ValueContext
.Validator.apply
(T value, ValueContext context) Validates the given value.
-
Uses of ValueContext in com.vaadin.flow.data.converter
Methods in com.vaadin.flow.data.converter with parameters of type ValueContextModifier and TypeMethodDescriptionBigDecimalToDoubleConverter.convertToModel
(BigDecimal value, ValueContext context) BigDecimalToFloatConverter.convertToModel
(BigDecimal value, ValueContext context) BigDecimalToIntegerConverter.convertToModel
(BigDecimal value, ValueContext context) BigDecimalToLongConverter.convertToModel
(BigDecimal value, ValueContext context) Converter.convertToModel
(PRESENTATION value, ValueContext context) Converts the given value from presentation type to model type.
DateToLongConverter.convertToModel
(Date value, ValueContext context) DateToSqlDateConverter.convertToModel
(Date value, ValueContext context) DoubleToBigDecimalConverter.convertToModel
(Double value, ValueContext context) FloatToBigDecimalConverter.convertToModel
(Float value, ValueContext context) FloatToDoubleConverter.convertToModel
(Float value, ValueContext context) IntegerToBigDecimalConverter.convertToModel
(Integer value, ValueContext context) IntegerToDoubleConverter.convertToModel
(Integer value, ValueContext context) IntegerToLongConverter.convertToModel
(Integer value, ValueContext context) LocalDateTimeToDateConverter.convertToModel
(LocalDateTime localDate, ValueContext context) LocalDateTimeToInstantConverter.convertToModel
(LocalDateTime localDateTime, ValueContext context) LocalDateToDateConverter.convertToModel
(LocalDate localDate, ValueContext context) LongToBigDecimalConverter.convertToModel
(Long value, ValueContext context) StringToBigDecimalConverter.convertToModel
(String value, ValueContext context) StringToBigIntegerConverter.convertToModel
(String value, ValueContext context) StringToBooleanConverter.convertToModel
(String value, ValueContext context) StringToDateConverter.convertToModel
(String value, ValueContext context) StringToDoubleConverter.convertToModel
(String value, ValueContext context) StringToFloatConverter.convertToModel
(String value, ValueContext context) StringToIntegerConverter.convertToModel
(String value, ValueContext context) StringToLongConverter.convertToModel
(String value, ValueContext context) StringToUuidConverter.convertToModel
(String value, ValueContext context) AbstractStringToNumberConverter.convertToNumber
(String value, ValueContext context) Convert the value to a Number using the given locale and
AbstractStringToNumberConverter.getFormat(Locale)
.AbstractStringToNumberConverter.convertToPresentation
(T value, ValueContext context) BigDecimalToDoubleConverter.convertToPresentation
(Double value, ValueContext context) BigDecimalToFloatConverter.convertToPresentation
(Float value, ValueContext context) BigDecimalToIntegerConverter.convertToPresentation
(Integer value, ValueContext context) BigDecimalToLongConverter.convertToPresentation
(Long value, ValueContext context) Converter.convertToPresentation
(MODEL value, ValueContext context) Converts the given value from model type to presentation type.
DateToLongConverter.convertToPresentation
(Long value, ValueContext context) DateToSqlDateConverter.convertToPresentation
(Date value, ValueContext context) DoubleToBigDecimalConverter.convertToPresentation
(BigDecimal value, ValueContext context) FloatToBigDecimalConverter.convertToPresentation
(BigDecimal value, ValueContext context) FloatToDoubleConverter.convertToPresentation
(Double value, ValueContext context) IntegerToBigDecimalConverter.convertToPresentation
(BigDecimal value, ValueContext context) IntegerToDoubleConverter.convertToPresentation
(Double value, ValueContext context) IntegerToLongConverter.convertToPresentation
(Long value, ValueContext context) LocalDateTimeToDateConverter.convertToPresentation
(Date date, ValueContext context) LocalDateTimeToInstantConverter.convertToPresentation
(Instant instant, ValueContext context) LocalDateToDateConverter.convertToPresentation
(Date date, ValueContext context) LongToBigDecimalConverter.convertToPresentation
(BigDecimal value, ValueContext context) StringToBooleanConverter.convertToPresentation
(Boolean value, ValueContext context) StringToDateConverter.convertToPresentation
(Date value, ValueContext context) StringToUuidConverter.convertToPresentation
(UUID value, ValueContext context) protected String
AbstractStringToNumberConverter.getErrorMessage
(ValueContext context) Gets the error message to use when conversion fails.
-
Uses of ValueContext in com.vaadin.flow.data.validator
Methods in com.vaadin.flow.data.validator with parameters of type ValueContextModifier and TypeMethodDescriptionBeanValidator.apply
(Object value, ValueContext context) Validates the given value as if it were the value of the bean property configured for this validator.
RangeValidator.apply
(T value, ValueContext context) Returns
Result.ok
if the value is within the specified bounds,Result.error
otherwise.RegexpValidator.apply
(String value, ValueContext context) StringLengthValidator.apply
(String value, ValueContext context)