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 StreamResource
getResource()
Gets the resource containing this imageOverlayInfo.Type
getType()
-
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 StreamResource getResource()
Gets the resource containing this image- Overrides:
getResource
in classSheetOverlayWrapper
- Returns:
- Image resource
-
getType
public OverlayInfo.Type getType()
- Specified by:
getType
in classSheetOverlayWrapper
-
-