Class UHFileRejectedEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<UploadHelper>
org.vaadin.addons.f0rce.uploadhelper.events.UHFileRejectedEvent
All Implemented Interfaces:
java.io.Serializable

public class UHFileRejectedEvent
extends com.vaadin.flow.component.ComponentEvent<UploadHelper>
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    UHFileRejectedEvent​(UploadHelper source, java.lang.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

    Modifier and Type Method Description
    java.lang.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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UHFileRejectedEvent

      public UHFileRejectedEvent​(UploadHelper source, java.lang.String errorMessage)
      Creates a new event using the given source and indicator whether the event originated from the client side or the server side.
      Parameters:
      source - the source component
      errorMessage - the error message
  • Method Details

    • getErrorMessage

      public java.lang.String getErrorMessage()
      Get the error message
      Returns:
      errorMessage