Uses of Class
com.vaadin.flow.component.clipboard.PasteFileHandler.BatchBuilder
Packages that use PasteFileHandler.BatchBuilder
Package
Description
Server-side access to the browser's clipboard ? both writing (copy) and
reading (paste).
-
Uses of PasteFileHandler.BatchBuilder in com.vaadin.flow.component.clipboard
Methods in com.vaadin.flow.component.clipboard that return PasteFileHandler.BatchBuilderModifier and TypeMethodDescriptionPasteFileHandler.batch()Starts a batch handler builder that emitsonStartonce per paste before any file,onFileper file, andonCompleteonce the paste's declared file count has been delivered.PasteFileHandler.BatchBuilder.onComplete(SerializableConsumer<PasteComplete> handler) Registers theonCompletestep, fired once after the paste's declared file count has been delivered toonFile.PasteFileHandler.BatchBuilder.onFile(SerializableConsumer<PasteFile> handler) Registers theonFilestep, fired once per accepted file with the file's bytes and metadata.PasteFileHandler.BatchBuilder.onStart(SerializableConsumer<PasteStart> handler) Registers theonStartstep, fired once per paste before the paste's firstPasteFileis delivered.