com.vaadin.ui.

Class Upload.ChangeEvent

  • All Implemented Interfaces:

    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

    • Constructor Detail

      • ChangeEvent

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

      • getSource

        public Upload getSource()

        Uploads where the event occurred.

        Overrides:

        getSource in class EventObject

        Returns:

        the Source of the event.

      • getFilename

        public String getFilename()

        Gets the file name.

        Returns:

        the filename.