We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.upload.
Class FileRejectedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Upload>
-
- com.vaadin.flow.component.upload.FileRejectedEvent
-
All Implemented Interfaces:
public class FileRejectedEvent extends ComponentEvent<Upload>
Sent when the file selected for upload doesn't meet the constraints specified on
Upload
Author:
Vaadin Ltd.
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FileRejectedEvent​(Upload source, String errorMessage)
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.
-
Method Summary
All Methods Modifier and Type Method Description String
getErrorMessage()
Get the error message
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Method Detail
-
getErrorMessage
public String getErrorMessage()
Get the error message
Returns:
errorMessage
-
-