Package cz.vutbr.fit.layout.model
Interface ContentImage
-
- All Superinterfaces:
ContentObject
- All Known Implementing Classes:
ContentImageImpl
,DefaultContentImage
,RDFContentImage
public interface ContentImage extends ContentObject
An image used as the box content.- Author:
- burgetr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getPngData()
Gets the PNG data of the image if available.URL
getUrl()
Obtains the image URL.
-
-
-
Method Detail
-
getUrl
URL getUrl()
Obtains the image URL.- Returns:
- The URL of the image or
null
when the image has no URL.
-
getPngData
byte[] getPngData()
Gets the PNG data of the image if available.- Returns:
- The PNG data or
null
when the data is not available.
-
-