public static class Component.ErrorEvent extends Component.Event
The component error event is normally fired by
AbstractComponent.setComponentError(ErrorMessage). The component
errors are set by the framework in some situations and can be set by user
code. They are indicated in a component with an error indicator.
source| Constructor and Description |
|---|
ErrorEvent(ErrorMessage message,
Component component)
Constructs a new event with a specified source component.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorMessage |
getErrorMessage()
Gets the error message.
|
getComponentgetConnectorgetSource, toStringpublic ErrorEvent(ErrorMessage message, Component component)
message - the error message.component - the source component.public ErrorMessage getErrorMessage()
Copyright © 2023 Vaadin Ltd. All rights reserved.