Class SheetImageWrapper
- java.lang.Object
-
- com.vaadin.flow.component.spreadsheet.SheetOverlayWrapper
-
- com.vaadin.flow.component.spreadsheet.SheetImageWrapper
-
- All Implemented Interfaces:
Serializable
public class SheetImageWrapper extends SheetOverlayWrapper implements 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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.spreadsheet.SheetOverlayWrapper
SheetOverlayWrapper.OverlayChangeListener
-
-
Constructor Summary
Constructors Constructor Description SheetImageWrapper(org.apache.poi.ss.usermodel.ClientAnchor anchor, String MIMEType, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.server.StreamResourcegetResource()Gets the resource containing this imageOverlayInfo.TypegetType()-
Methods inherited from class com.vaadin.flow.component.spreadsheet.SheetOverlayWrapper
equals, getAnchor, getComponent, getHeight, getId, getWidth, hashCode, isVisible, isVisible, setOverlayChangeListener, setVisible, toString
-
-
-
-
Constructor Detail
-
SheetImageWrapper
public SheetImageWrapper(org.apache.poi.ss.usermodel.ClientAnchor anchor, String MIMEType, byte[] data)
-
-
Method Detail
-
getResource
public com.vaadin.flow.server.StreamResource getResource()
Gets the resource containing this image- Overrides:
getResourcein classSheetOverlayWrapper- Returns:
- Image resource
-
getType
public OverlayInfo.Type getType()
- Specified by:
getTypein classSheetOverlayWrapper
-
-