Package io.jmix.flowui.download
Interface SupportDownloadSuccessHandler
- All Known Implementing Classes:
DownloaderExportHandler
public interface SupportDownloadSuccessHandler
Interface for components that support setting a download success handler.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordRepresents context information about a successful download operation.static interfaceRepresents a handler for successful download operations. -
Method Summary
Modifier and TypeMethodDescriptionvoidSets a handler that is invoked when a download operation completes successfully.
-
Method Details
-
setDownloadSuccessHandler
void setDownloadSuccessHandler(@Nullable SupportDownloadSuccessHandler.DownloadSuccessHandler handler) Sets a handler that is invoked when a download operation completes successfully.- Parameters:
handler- the handler to be invoked on successful download, ornullto remove the current handler
-