We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.spreadsheet.
Class SheetImageWrapper
- java.lang.Object
-
- com.vaadin.flow.component.spreadsheet.SheetOverlayWrapper
-
- com.vaadin.flow.component.spreadsheet.SheetImageWrapper
-
All Implemented Interfaces:
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:
-
-
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 Modifier and Type Method Description StreamResource
getResource()
Gets the resource containing this image
OverlayInfo.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
-
-