Class VUpload

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.upload.Upload
org.vaadin.firitin.components.upload.VUpload
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable, FluentAttachNotifier<VUpload>, FluentComponent<VUpload>, FluentDetachNotifier<VUpload>, FluentHasSize<VUpload>, FluentHasStyle<VUpload>

public class VUpload extends com.vaadin.flow.component.upload.Upload implements FluentComponent<VUpload>, FluentHasStyle<VUpload>, FluentHasSize<VUpload>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    VUpload(com.vaadin.flow.component.upload.Receiver receiver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    withAcceptedFileTypes(String... acceptedFileTypes)
     
    withAllFinishedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.AllFinishedEvent> listener)
     
    withAutoUpload(boolean autoUpload)
     
    withDropAllowed(boolean dropAllowed)
     
    withDropLabel(com.vaadin.flow.component.Component dropLabel)
     
    withDropLabelIcon(com.vaadin.flow.component.Component dropLabelIcon)
     
    withFailedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FailedEvent> listener)
     
    withFileRejectedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FileRejectedEvent> listener)
     
    withFinishedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FinishedEvent> listener)
     
    withI18n(com.vaadin.flow.component.upload.UploadI18N i18n)
     
    withMaxFiles(int maxFiles)
     
    withMaxFileSize(int maxFileSize)
     
    withProgressListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.ProgressUpdateEvent> listener)
     
    withStartedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.StartedEvent> listener)
     
    withSucceededListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.SucceededEvent> listener)
     
    withUploadButton(com.vaadin.flow.component.Component uploadButton)
     

    Methods inherited from class com.vaadin.flow.component.upload.Upload

    addAllFinishedListener, addFailedListener, addFileRejectedListener, addFileRemovedListener, addFinishedListener, addProgressListener, addStartedListener, addSucceededListener, clearFileList, fireUpdateProgress, fireUpdateProgress, getAcceptedFileTypes, getDropLabel, getDropLabelIcon, getI18n, getMaxFiles, getMaxFileSize, getReceiver, getUploadButton, interruptUpload, isAutoUpload, isDropAllowed, isUploading, onAttach, setAcceptedFileTypes, setAutoUpload, setDropAllowed, setDropLabel, setDropLabelIcon, setI18n, setMaxFiles, setMaxFileSize, setReceiver, setUploadButton

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier

    withAttachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent

    setId, setVisible, withId, withVisible

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier

    withDetachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle

    withAddedClassName, withClassName, withStyle

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasSize

    getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

    • VUpload

      public VUpload()
    • VUpload

      public VUpload(com.vaadin.flow.component.upload.Receiver receiver)
  • Method Details

    • withMaxFiles

      public VUpload withMaxFiles(int maxFiles)
    • withMaxFileSize

      public VUpload withMaxFileSize(int maxFileSize)
    • withAutoUpload

      public VUpload withAutoUpload(boolean autoUpload)
    • withDropAllowed

      public VUpload withDropAllowed(boolean dropAllowed)
    • withAcceptedFileTypes

      public VUpload withAcceptedFileTypes(String... acceptedFileTypes)
    • withUploadButton

      public VUpload withUploadButton(com.vaadin.flow.component.Component uploadButton)
    • withDropLabel

      public VUpload withDropLabel(com.vaadin.flow.component.Component dropLabel)
    • withDropLabelIcon

      public VUpload withDropLabelIcon(com.vaadin.flow.component.Component dropLabelIcon)
    • withI18n

      public VUpload withI18n(com.vaadin.flow.component.upload.UploadI18N i18n)
    • withAllFinishedListener

      public VUpload withAllFinishedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.AllFinishedEvent> listener)
    • withProgressListener

      public VUpload withProgressListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.ProgressUpdateEvent> listener)
    • withFailedListener

      public VUpload withFailedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FailedEvent> listener)
    • withFinishedListener

      public VUpload withFinishedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FinishedEvent> listener)
    • withStartedListener

      public VUpload withStartedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.StartedEvent> listener)
    • withSucceededListener

      public VUpload withSucceededListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.SucceededEvent> listener)
    • withFileRejectedListener

      public VUpload withFileRejectedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FileRejectedEvent> listener)