Interface AbstractImageStaticSource.HasResource
- All Known Subinterfaces:
- AbstractImageStaticSource.HasImageStaticSourceOptions
- All Known Implementing Classes:
- ImageStaticSource,- NoOpImageStaticSource
- Enclosing class:
- AbstractImageStaticSource
public static interface AbstractImageStaticSource.HasResource
Interface to be implemented by sources that can display image from classpath resources.
- 
Method SummaryModifier and TypeMethodDescriptioncom.vaadin.flow.server.StreamResourcevoidsetResource(com.vaadin.flow.server.StreamResource resource) Sets stream resource.
- 
Method Details- 
getResourcecom.vaadin.flow.server.StreamResource getResource()- Returns:
- stream resource or nullif not set
 
- 
setResourcevoid setResource(com.vaadin.flow.server.StreamResource resource) Sets stream resource.- Parameters:
- resource- stream resource to set
 
 
-