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 ValueContextBinder.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 givenValueContext.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 TypeMethodDescriptionConverter.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) LocalDateTimeToDateConverter.convertToModel(LocalDateTime localDate, ValueContext context) LocalDateToDateConverter.convertToModel(LocalDate localDate, 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 andAbstractStringToNumberConverter.getFormat(Locale).AbstractStringToNumberConverter.convertToPresentation(T 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) LocalDateTimeToDateConverter.convertToPresentation(Date date, ValueContext context) LocalDateToDateConverter.convertToPresentation(Date date, ValueContext context) StringToBooleanConverter.convertToPresentation(Boolean value, ValueContext context) StringToDateConverter.convertToPresentation(Date value, ValueContext context) StringToUuidConverter.convertToPresentation(UUID value, ValueContext context) protected StringAbstractStringToNumberConverter.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) ReturnsResult.okif the value is within the specified bounds,Result.errorotherwise.RegexpValidator.apply(String value, ValueContext context) StringLengthValidator.apply(String value, ValueContext context)