Class SheetImageWrapper
java.lang.Object
com.vaadin.flow.component.spreadsheet.SheetOverlayWrapper
com.vaadin.flow.component.spreadsheet.SheetImageWrapper
- All Implemented Interfaces:
Serializable
SheetImageWrapper is an utility class of the Spreadsheet component. In
addition to the image resource, this wrapper contains the images visibility
state, position and size.
- Author:
- Vaadin Ltd.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.spreadsheet.SheetOverlayWrapper
SheetOverlayWrapper.OverlayChangeListener -
Constructor Summary
ConstructorsConstructorDescriptionSheetImageWrapper(org.apache.poi.ss.usermodel.ClientAnchor anchor, String MIMEType, byte[] data) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.server.StreamResourceDeprecated, for removal: This API element is subject to removal in a future version.com.vaadin.flow.server.streams.DownloadHandlerGets the resource containing this imagegetType()Methods inherited from class com.vaadin.flow.component.spreadsheet.SheetOverlayWrapper
equals, getAnchor, getComponent, getHeight, getId, getWidth, hashCode, isVisible, isVisible, setOverlayChangeListener, setVisible, toString
-
Constructor Details
-
SheetImageWrapper
public SheetImageWrapper(org.apache.poi.ss.usermodel.ClientAnchor anchor, String MIMEType, byte[] data)
-
-
Method Details
-
getResource
@Deprecated(since="24.8", forRemoval=true) public com.vaadin.flow.server.StreamResource getResource()Deprecated, for removal: This API element is subject to removal in a future version.usegetResourceHandler()insteadGets the resource containing this image- Overrides:
getResourcein classSheetOverlayWrapper- Returns:
- Image resource
-
getResourceHandler
public com.vaadin.flow.server.streams.DownloadHandler getResourceHandler()Gets the resource containing this image- Overrides:
getResourceHandlerin classSheetOverlayWrapper- Returns:
- Image resource
-
getType
- Specified by:
getTypein classSheetOverlayWrapper
-
getResourceHandler()instead