| Package | Description |
|---|---|
| com.holonplatform.vaadin.flow.components | |
| com.holonplatform.vaadin.flow.components.builders |
| Modifier and Type | Method and Description |
|---|---|
static <S> ValidationStatusHandler<S> |
ValidationStatusHandler.dialog()
Create a
ValidationStatusHandler which shows a Dialog to notify validation errors. |
static <S extends HasComponent> |
ValidationStatusHandler.getDefault()
Create and return the default
ValidationStatusHandler for HasComponent types. |
static <S extends HasComponent> |
ValidationStatusHandler.getDefault(ValidationStatusHandler<S> fallback)
Create and return the default
ValidationStatusHandler for HasComponent types. |
static <S,L extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasText> |
ValidationStatusHandler.label(L statusLabel)
Create a
ValidationStatusHandler which uses a HasText component to notify validation errors. |
static <S,L extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasText> |
ValidationStatusHandler.label(L statusLabel,
boolean hideWhenValid)
Create a
ValidationStatusHandler which uses a HasText component to notify validation errors. |
static <S> ValidationStatusHandler<S> |
ValidationStatusHandler.notification()
Create a
ValidationStatusHandler which shows a Notification to notify validation errors. |
static <S> ValidationStatusHandler<S> |
ValidationStatusHandler.notification(boolean showAllErrors)
Create a
ValidationStatusHandler which shows a Notification to notify validation errors. |
static <S> ValidationStatusHandler<S> |
ValidationStatusHandler.notification(com.vaadin.flow.component.notification.Notification notification)
Create a
ValidationStatusHandler which shows a Notification to notify validation errors. |
static <S> ValidationStatusHandler<S> |
ValidationStatusHandler.notification(com.vaadin.flow.component.notification.Notification notification,
boolean showAllErrors)
Create a
ValidationStatusHandler which shows a Notification to notify validation errors. |
| Modifier and Type | Method and Description |
|---|---|
Optional<ValidationStatusHandler<ValidatableInput<T>>> |
ValidatableInput.getValidationStatusHandler()
Get the
ValidationStatusHandler to use to track validation status changes, if available. |
| Modifier and Type | Method and Description |
|---|---|
static <S extends HasComponent> |
ValidationStatusHandler.getDefault(ValidationStatusHandler<S> fallback)
Create and return the default
ValidationStatusHandler for HasComponent types. |
void |
ValidatableInput.setValidationStatusHandler(ValidationStatusHandler<ValidatableInput<T>> validationStatusHandler)
Set the
ValidationStatusHandler to use to track validation status changes. |
| Modifier and Type | Method and Description |
|---|---|
C |
InputGroupConfigurator.validationStatusHandler(P property,
ValidationStatusHandler<Input<?>> validationStatusHandler)
Set the
ValidationStatusHandler to use to track given property validation status changes. |
C |
InputGroupConfigurator.validationStatusHandler(ValidationStatusHandler<G> validationStatusHandler)
Set the
ValidationStatusHandler to use to track the group validation status changes. |
C |
ValidatableInputConfigurator.validationStatusHandler(ValidationStatusHandler<ValidatableInput<T>> validationStatusHandler)
Set the
ValidationStatusHandler to use to input validation status changes. |
Copyright © 2020 The Holon Platform. All rights reserved.