Package | Description |
---|---|
com.vaadin.client | |
com.vaadin.client.ui | |
com.vaadin.client.ui.orderedlayout | |
com.vaadin.data | |
com.vaadin.server | |
com.vaadin.shared | |
com.vaadin.shared.ui | |
com.vaadin.shared.ui.tabsheet |
Modifier and Type | Method and Description |
---|---|
ErrorLevel |
TooltipInfo.getErrorLevel()
Gets the error level.
|
Modifier and Type | Method and Description |
---|---|
void |
TooltipInfo.setErrorLevel(ErrorLevel errorLevel)
Sets the error level.
|
static void |
WidgetUtil.ErrorUtil.setErrorLevelStyle(com.google.gwt.dom.client.Element element,
String prefix,
ErrorLevel errorLevel)
Sets the error level style name for the given element and removes all
previously applied error level style names.
|
boolean |
VCaption.updateCaptionWithoutOwner(String caption,
boolean disabled,
boolean hasDescription,
boolean hasError,
ErrorLevel errorLevel,
String iconURL,
String iconAltText)
Deprecated.
|
void |
VErrorMessage.updateErrorLevel(ErrorLevel errorLevel)
Sets the correct error level style name for the error message and removes
all previous style names.
|
Constructor and Description |
---|
TooltipInfo(String tooltip,
ContentMode mode,
String errorMessage,
Object identifier,
ErrorLevel errorLevel)
Constructs a new tooltip info instance.
|
TooltipInfo(String tooltip,
String errorMessage,
Object identifier,
ErrorLevel errorLevel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
VFormLayout.ErrorFlag.updateError(String errorMessage,
ErrorLevel errorLevel,
boolean hideErrors) |
void |
VFormLayout.VFormLayoutTable.updateError(com.google.gwt.user.client.ui.Widget widget,
String errorMessage,
ErrorLevel errorLevel,
boolean hideErrors) |
Modifier and Type | Method and Description |
---|---|
void |
Slot.setCaption(String captionText,
Icon icon,
List<String> styles,
String error,
ErrorLevel errorLevel,
boolean showError,
boolean required,
boolean enabled,
boolean captionAsHtml)
Set the caption of the slot.
|
Modifier and Type | Method and Description |
---|---|
Optional<ErrorLevel> |
ValidationResult.getErrorLevel()
Returns optional error level for this validation result.
|
Optional<ErrorLevel> |
ValidationResult.SimpleValidationResult.getErrorLevel() |
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
ValidationResult.create(String errorMessage,
ErrorLevel errorLevel)
Creates the validation result with the given
errorMessage and
errorLevel . |
static <T> Validator<T> |
Validator.from(SerializablePredicate<T> guard,
ErrorMessageProvider errorMessageProvider,
ErrorLevel errorLevel)
Builds a validator out of a conditional function and an error message
provider.
|
static <T> Validator<T> |
Validator.from(SerializablePredicate<T> guard,
String errorMessage,
ErrorLevel errorLevel)
Builds a validator out of a conditional function and an error message.
|
default Binder.BindingBuilder<BEAN,TARGET> |
Binder.BindingBuilder.withValidator(SerializablePredicate<? super TARGET> predicate,
ErrorMessageProvider errorMessageProvider,
ErrorLevel errorLevel)
A convenience method to add a validator to this binding using the
Validator.from(SerializablePredicate, ErrorMessageProvider, ErrorLevel)
factory method. |
default Binder.BindingBuilder<BEAN,TARGET> |
Binder.BindingBuilder.withValidator(SerializablePredicate<? super TARGET> predicate,
String message,
ErrorLevel errorLevel)
A convenience method to add a validator to this binding using the
Validator.from(SerializablePredicate, String, ErrorLevel)
factory method. |
Modifier and Type | Field and Description |
---|---|
static ErrorLevel |
ErrorMessage.CRITICAL
Deprecated.
As of 7.0, use
CRITICAL instead |
static ErrorLevel |
ErrorMessage.ERROR
Deprecated.
As of 7.0, use
ERROR instead |
static ErrorLevel |
ErrorMessage.INFORMATION
Deprecated.
As of 7.0, use
INFO instead |
static ErrorLevel |
ErrorMessage.SYSTEMERROR
Deprecated.
As of 7.0, use
SYSTEM instead |
static ErrorLevel |
ErrorMessage.WARNING
Deprecated.
As of 7.0, use
WARNING instead |
Modifier and Type | Method and Description |
---|---|
ErrorLevel |
ErrorMessage.getErrorLevel()
Gets the errors level.
|
ErrorLevel |
AbstractErrorMessage.getErrorLevel() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractErrorMessage.setErrorLevel(ErrorLevel level) |
Constructor and Description |
---|
UserError(String message,
AbstractErrorMessage.ContentMode contentMode,
ErrorLevel errorLevel)
Creates an error message with level and content mode.
|
Modifier and Type | Field and Description |
---|---|
ErrorLevel |
AbstractComponentState.errorLevel
Level of error.
|
Modifier and Type | Method and Description |
---|---|
static ErrorLevel |
ErrorLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorLevel[] |
ErrorLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
ErrorLevel |
TabState.componentErrorLevel
Represents the level of error on a tab.
|
Copyright © 2018 Vaadin Ltd. All rights reserved.