Class VUpload
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.upload.GeneratedVaadinUpload<com.vaadin.flow.component.upload.Upload>
-
- 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>
- Direct Known Subclasses:
UploadFileHandler
public class VUpload extends com.vaadin.flow.component.upload.Upload implements FluentComponent<VUpload>, FluentHasStyle<VUpload>, FluentHasSize<VUpload>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.upload.GeneratedVaadinUpload
com.vaadin.flow.component.upload.GeneratedVaadinUpload.FileRejectEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.FilesChangeEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.MaxFilesReachedChangeEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadAbortEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadBeforeEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadErrorEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadProgressEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadRequestEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadResponseEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadRetryEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadStartEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadSuccessEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VUploadwithAcceptedFileTypes(String... acceptedFileTypes)VUploadwithAllFinishedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.AllFinishedEvent> listener)VUploadwithAutoUpload(boolean autoUpload)VUploadwithDropAllowed(boolean dropAllowed)VUploadwithDropLabel(com.vaadin.flow.component.Component dropLabel)VUploadwithDropLabelIcon(com.vaadin.flow.component.Component dropLabelIcon)VUploadwithFailedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FailedEvent> listener)VUploadwithFileRejectedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FileRejectedEvent> listener)VUploadwithFinishedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.FinishedEvent> listener)VUploadwithI18n(com.vaadin.flow.component.upload.UploadI18N i18n)VUploadwithMaxFiles(int maxFiles)VUploadwithMaxFileSize(int maxFileSize)VUploadwithProgressListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.ProgressUpdateEvent> listener)VUploadwithStartedListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.StartedEvent> listener)VUploadwithSucceededListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.upload.SucceededEvent> listener)VUploadwithUploadButton(com.vaadin.flow.component.Component uploadButton)-
Methods inherited from class com.vaadin.flow.component.upload.Upload
addAllFinishedListener, addFailedListener, addFileRejectedListener, addFinishedListener, addProgressListener, addStartedListener, addSucceededListener, fireUpdateProgress, getAcceptedFileTypes, getDropLabel, getDropLabelIcon, getI18n, getMaxFiles, getMaxFileSize, getReceiver, getUploadButton, interruptUpload, isAutoUpload, isDropAllowed, isUploading, setAcceptedFileTypes, setAutoUpload, setDropAllowed, setDropLabel, setDropLabelIcon, setI18n, setMaxFiles, setMaxFileSize, setReceiver, setUploadButton
-
Methods inherited from class com.vaadin.flow.component.upload.GeneratedVaadinUpload
addFileRejectListener, addFilesChangeListener, addMaxFilesReachedChangeListener, addToAddButton, addToDropLabel, addToDropLabelIcon, addToFileList, addUploadAbortListener, addUploadBeforeListener, addUploadErrorListener, addUploadProgressListener, addUploadRequestListener, addUploadResponseListener, addUploadRetryListener, addUploadStartListener, addUploadSuccessListener, getAcceptString, getCaptureString, getFilesJsonArray, getFormDataNameString, getHeadersJsonObject, getI18nJsonObject, getMaxFilesDouble, getMaxFileSizeDouble, getMethodString, getTargetString, getTimeoutDouble, isMaxFilesReachedBoolean, isNoAutoBoolean, isNodropBoolean, isWithCredentialsBoolean, remove, removeAll, setAccept, setCapture, setFiles, setFormDataName, setHeaders, setI18n, setMaxFiles, setMaxFileSize, setMethod, setNoAuto, setNodrop, setTarget, setTimeout, setWithCredentials, uploadFiles
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, 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 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.FluentHasSize
withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidth
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle
withAddedClassName, withClassName, withStyle
-
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
-
-
-
-
Method Detail
-
withMaxFiles
public VUpload withMaxFiles(int maxFiles)
-
withMaxFileSize
public VUpload withMaxFileSize(int maxFileSize)
-
withAutoUpload
public VUpload withAutoUpload(boolean autoUpload)
-
withDropAllowed
public VUpload withDropAllowed(boolean dropAllowed)
-
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)
-
-