Interface FileMultiUploadField

All Superinterfaces:
Component, Component.BelongToFrame, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, UploadField
All Known Implementing Classes:
FileMultiUploadFieldImpl

@StudioComponent(xmlElement="fileMultiUpload", category="Components", icon="io/jmix/ui/icon/component/fileMultiUpload.svg", documentationURL="https://docs.jmix.io/jmix/%VERSION%/ui/vcl/components/file-multi-upload-field.html", canvasBehaviour=BUTTON, canvasText="Upload", canvasTextProperty="caption") public interface FileMultiUploadField extends UploadField
Component for uploading files from client to server that supports multiple file selection.
  • Field Details

  • Method Details

    • getUploadsMap

      Map<UUID,String> getUploadsMap()
      Get uploads map
      Returns:
      Map ( UUID - Id of file in Temporary storage, String - FileName )
    • clearUploads

      void clearUploads()
      Clear uploads list
    • addQueueUploadCompleteListener

      Subscription addQueueUploadCompleteListener(Consumer<FileMultiUploadField.QueueUploadCompleteEvent> listener)
      Adds queue upload complete listener. It is invoked when all selected files are uploaded to the temporary storage.
      Parameters:
      listener - a listener to add
      Returns:
      a registration object for removing an event listener