Class BinaryPDFPreviewer.ThumbnailImageResource
- java.lang.Object
-
- org.apache.wicket.request.resource.AbstractResource
-
- org.apache.wicket.request.resource.DynamicImageResource
-
- org.apache.syncope.client.ui.commons.markup.html.form.preview.BinaryPDFPreviewer.ThumbnailImageResource
-
- All Implemented Interfaces:
Serializable
,IResource
,IClusterable
- Enclosing class:
- BinaryPDFPreviewer
protected static class BinaryPDFPreviewer.ThumbnailImageResource extends DynamicImageResource implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.AbstractResource
AbstractResource.ContentRangeType, AbstractResource.ResourceResponse, AbstractResource.WriteCallback
-
Nested classes/interfaces inherited from interface org.apache.wicket.request.resource.IResource
IResource.Attributes
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedImage
image
protected byte[]
thumbnail
-
Fields inherited from class org.apache.wicket.request.resource.AbstractResource
CONTENT_DISPOSITION_HEADER_NAME, CONTENT_RANGE_ENDBYTE, CONTENT_RANGE_STARTBYTE, INTERNAL_HEADERS
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ThumbnailImageResource(BufferedImage image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
getImageData(IResource.Attributes attributes)
protected BufferedImage
getScaledImageInstance()
-
Methods inherited from class org.apache.wicket.request.resource.DynamicImageResource
configureResponse, getFormat, newResourceResponse, setFormat, setLastModifiedTime, toImageData
-
Methods inherited from class org.apache.wicket.request.resource.AbstractResource
configureCache, getCachingStrategy, respond, setRequestMetaData, setRequestRangeMetaData, setResponseContentRangeHeaderFields, setResponseHeaders
-
-
-
-
Field Detail
-
image
protected final transient BufferedImage image
-
thumbnail
protected transient byte[] thumbnail
-
-
Constructor Detail
-
ThumbnailImageResource
protected ThumbnailImageResource(BufferedImage image)
-
-
Method Detail
-
getImageData
protected byte[] getImageData(IResource.Attributes attributes)
- Specified by:
getImageData
in classDynamicImageResource
-
getScaledImageInstance
protected BufferedImage getScaledImageInstance()
-
-