com.vaadin.ui
Class Component.ErrorEvent
java.lang.Object
java.util.EventObject
com.vaadin.ui.Component.Event
com.vaadin.ui.Component.ErrorEvent
- All Implemented Interfaces:
- Serializable
- Enclosing interface:
- Component
public static class Component.ErrorEvent
- extends Component.Event
Class of all component originated error events.
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.
- See Also:
- Serialized Form
Component.ErrorEvent
public Component.ErrorEvent(ErrorMessage message,
Component component)
- Constructs a new event with a specified source component.
- Parameters:
message
- the error message.component
- the source component.
getErrorMessage
public ErrorMessage getErrorMessage()
- Gets the error message.
- Returns:
- the error message.
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.