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 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 ValueContext Modifier and Type Method Description StringErrorMessageProvider. apply(ValueContext context)Returns a generated error message for givenValueContext.ValidationResultValidator. 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).StringAbstractStringToNumberConverter. convertToPresentation(T value, ValueContext context)PRESENTATIONConverter. convertToPresentation(MODEL value, ValueContext context)Converts the given value from model type to presentation type.DateDateToLongConverter. convertToPresentation(Long value, ValueContext context)DateDateToSqlDateConverter. convertToPresentation(Date value, ValueContext context)LocalDateTimeLocalDateTimeToDateConverter. convertToPresentation(Date date, ValueContext context)LocalDateLocalDateToDateConverter. convertToPresentation(Date date, ValueContext context)StringStringToBooleanConverter. convertToPresentation(Boolean value, ValueContext context)StringStringToDateConverter. convertToPresentation(Date value, ValueContext context)StringStringToUuidConverter. 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 ValueContext Modifier and Type Method Description ValidationResultBeanValidator. apply(Object value, ValueContext context)Validates the given value as if it were the value of the bean property configured for this validator.ValidationResultRangeValidator. apply(T value, ValueContext context)ReturnsResult.okif the value is within the specified bounds,Result.errorotherwise.ValidationResultRegexpValidator. apply(String value, ValueContext context)ValidationResultStringLengthValidator. apply(String value, ValueContext context)
-