Package com.vaadin.ui

Class Upload.ChangeEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Upload

    public static class Upload.ChangeEvent
    extends Component.Event
    Upload.ChangeEvent event is sent when the value (filename) of the upload changes.
    Since:
    7.2
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      ChangeEvent​(Upload source, java.lang.String filename)  
    • Constructor Detail

      • ChangeEvent

        public ChangeEvent​(Upload source,
                           java.lang.String filename)
    • Method Detail

      • getSource

        public Upload getSource()
        Uploads where the event occurred.
        Overrides:
        getSource in class java.util.EventObject
        Returns:
        the Source of the event.
      • getFilename

        public java.lang.String getFilename()
        Gets the file name.
        Returns:
        the filename.