| Package | Description |
|---|---|
| org.dominokit.domino.ui.upload |
| Modifier and Type | Method and Description |
|---|---|
FileUpload |
FileUpload.accept(String acceptedFiles)
Sets the accepted files extensions
|
FileUpload |
FileUpload.appendChild(org.jboss.elemento.IsElement<?> child) |
FileUpload |
FileUpload.appendChild(elemental2.dom.Node child) |
FileUpload |
FileUpload.autoUpload()
Sets that the file should be automatically uploaded when the user adds it
|
static FileUpload |
FileUpload.create() |
FileUpload |
FileUpload.manualUpload()
Sets that the file should be uploaded only when calling
uploadFiles(FileList) or uploadAllFiles() |
FileUpload |
FileUpload.maxFileSize(double maxFileSize)
Sets the maximum accepted file size
|
FileUpload |
FileUpload.multipleFiles()
Enables multiple files upload
|
FileUpload |
FileUpload.onAddFile(FileUpload.OnAddFileHandler onAddFileHandler)
Sets a handler to be called when file is added
|
FileUpload |
FileUpload.setDropEffect(DropEffect dropEffect)
Sets the drop effect
|
FileUpload |
FileUpload.setIcon(BaseIcon<?> icon)
Sets the upload icon
|
FileUpload |
FileUpload.setName(String name) |
FileUpload |
FileUpload.setRequestSender(UploadRequestSender requestSender)
Sets the sender of the upload request when the request is ready to be sent
|
FileUpload |
FileUpload.setSingleFileErrorMessage(String errorMessage)
Sets the error message when uploading file fails
|
FileUpload |
FileUpload.setThumbOffset(int xLarge,
int large,
int medium,
int small,
int xSmall)
Sets the column offset for a file preview
|
FileUpload |
FileUpload.setThumbSpans(int xLarge,
int large,
int medium,
int small,
int xSmall)
Sets the column span for a file preview
|
FileUpload |
FileUpload.setUrl(String url)
Sets the url for uploading the files to
|
FileUpload |
FileUpload.singleFile()
Enables uploading only a single file
|
Copyright © 2019–2022 Dominokit. All rights reserved.