Uses of Class
com.vaadin.flow.data.binder.ValueContext
-
Packages that use ValueContext Package Description com.vaadin.flow.data.binder com.vaadin.flow.data.converter com.vaadin.flow.data.validator -
-
Uses of ValueContext in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return ValueContext Modifier and Type Method Description protected 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 ValueContext Modifier and Type Method Description String
ErrorMessageProvider. apply(ValueContext context)
Returns a generated error message for givenValueContext
.ValidationResult
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 ValueContext Modifier and Type Method Description Result<MODEL>
Converter. convertToModel(PRESENTATION value, ValueContext context)
Converts the given value from presentation type to model type.Result<Long>
DateToLongConverter. convertToModel(Date value, ValueContext context)
Result<Date>
DateToSqlDateConverter. convertToModel(Date value, ValueContext context)
Result<Date>
LocalDateTimeToDateConverter. convertToModel(LocalDateTime localDate, ValueContext context)
Result<Date>
LocalDateToDateConverter. convertToModel(LocalDate localDate, ValueContext context)
Result<BigDecimal>
StringToBigDecimalConverter. convertToModel(String value, ValueContext context)
Result<BigInteger>
StringToBigIntegerConverter. convertToModel(String value, ValueContext context)
Result<Boolean>
StringToBooleanConverter. convertToModel(String value, ValueContext context)
Result<Date>
StringToDateConverter. convertToModel(String value, ValueContext context)
Result<Double>
StringToDoubleConverter. convertToModel(String value, ValueContext context)
Result<Float>
StringToFloatConverter. convertToModel(String value, ValueContext context)
Result<Integer>
StringToIntegerConverter. convertToModel(String value, ValueContext context)
Result<Long>
StringToLongConverter. convertToModel(String value, ValueContext context)
Result<UUID>
StringToUuidConverter. convertToModel(String value, ValueContext context)
protected Result<Number>
AbstractStringToNumberConverter. convertToNumber(String value, ValueContext context)
Convert the value to a Number using the given locale andAbstractStringToNumberConverter.getFormat(Locale)
.String
AbstractStringToNumberConverter. convertToPresentation(T value, ValueContext context)
PRESENTATION
Converter. convertToPresentation(MODEL value, ValueContext context)
Converts the given value from model type to presentation type.Date
DateToLongConverter. convertToPresentation(Long value, ValueContext context)
Date
DateToSqlDateConverter. convertToPresentation(Date value, ValueContext context)
LocalDateTime
LocalDateTimeToDateConverter. convertToPresentation(Date date, ValueContext context)
LocalDate
LocalDateToDateConverter. convertToPresentation(Date date, ValueContext context)
String
StringToBooleanConverter. convertToPresentation(Boolean value, ValueContext context)
String
StringToDateConverter. convertToPresentation(Date value, ValueContext context)
String
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 ValueContext Modifier and Type Method Description ValidationResult
BeanValidator. apply(Object value, ValueContext context)
Validates the given value as if it were the value of the bean property configured for this validator.ValidationResult
RangeValidator. apply(T value, ValueContext context)
ReturnsResult.ok
if the value is within the specified bounds,Result.error
otherwise.ValidationResult
RegexpValidator. apply(String value, ValueContext context)
ValidationResult
StringLengthValidator. apply(String value, ValueContext context)
-