Uses of Class
org.patternfly.component.upload.FileUpload
Packages that use FileUpload
-
Uses of FileUpload in org.patternfly.component.upload
Subclasses with type arguments of type FileUpload in org.patternfly.component.uploadModifier and TypeClassDescriptionclassA file upload component allows users to select and upload files by browsing or dragging and dropping.Classes in org.patternfly.component.upload that implement interfaces with type arguments of type FileUploadModifier and TypeClassDescriptionclassA file upload component allows users to select and upload files by browsing or dragging and dropping.classA file upload component allows users to select and upload files by browsing or dragging and dropping.classA file upload component allows users to select and upload files by browsing or dragging and dropping.classA file upload component allows users to select and upload files by browsing or dragging and dropping.Methods in org.patternfly.component.upload that return FileUploadModifier and TypeMethodDescriptionRestricts the accepted file types.FileUpload.add(HelperText helperText) Adds helper text below the component.FileUpload.addHelperText(HelperText helperText) Adds helper text below the component.FileUpload.allowEditingUploadedText()FileUpload.allowEditingUploadedText(boolean allowEdit) FileUpload.clearButtonText(String text) Sets the text for the clear button.FileUpload.disabled(boolean disabled) static FileUploadFileUpload.fileUpload(String id) FileUpload.hideDetails()Hides the file details textarea below the file select area.FileUpload.hideDetails(boolean hideDetails) Shows or hides the file details textarea below the file select area.FileUpload.loading()Same as loading(true)FileUpload.loading(boolean loading) Shows or hides the loading spinner.FileUpload.maxSize(long maxSize) Restricts the maximum file size in bytes.FileUpload.onClear(ComponentHandler<FileUpload> handler) FileUpload.onDataChange(ChangeHandler<FileUpload, String> handler) FileUpload.onFileChange(ChangeHandler<FileUpload, File> handler) FileUpload.onFileReadFailed(FileErrorHandler handler) FileUpload.onFileReadFinished(FileReadHandler handler) FileUpload.onFileReadStart(FileReadHandler handler) FileUpload.onFileRejected(FileRejectedHandler handler) FileUpload.placeholder(String placeholder) Sets the placeholder text for the filename input.FileUpload.readonly()Makes the file details textarea read-only.FileUpload.readonly(boolean readonly) Makes or unmakes the file details textarea read-only.FileUpload.that()FileUpload.type(FileReaderType type) FileUpload.uploadButtonText(String text) Sets the text for the upload button.FileUpload.validated(ValidationStatus status) Methods in org.patternfly.component.upload with parameters of type FileUploadModifier and TypeMethodDescriptionvoidFileErrorHandler.onRead(Event event, FileUpload fileUpload, File file, DOMError error) voidFileReadHandler.onRead(Event event, FileUpload fileUpload, File file) voidFileRejectedHandler.onRejected(Event event, FileUpload fileUpload, File file, FileRejectionReason reason) Method parameters in org.patternfly.component.upload with type arguments of type FileUploadModifier and TypeMethodDescriptionFileUpload.onClear(ComponentHandler<FileUpload> handler) FileUpload.onDataChange(ChangeHandler<FileUpload, String> handler) FileUpload.onFileChange(ChangeHandler<FileUpload, File> handler)