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.HasEnabled,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 -
Method Summary
Modifier and TypeMethodDescriptionwithAcceptedFileTypes(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, setUploadButtonMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
navigate, setId, setVisible, withId, withVisibleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
addResizeListener, withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidthMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle
withAddedClassName, withClassName, withStyleMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods 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, setWidthFullMethods 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
-
withMaxFileSize
-
withAutoUpload
-
withDropAllowed
-
withAcceptedFileTypes
-
withUploadButton
-
withDropLabel
-
withDropLabelIcon
-
withI18n
-
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)
-