|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThumbnailProvider
Classes implementing ThumbnailProvider
interface are responsible
to provide a thumbnail image for a specific page this ThumbnailProvider
realization is associated to.
Field Summary | |
---|---|
static int |
DEFAULT_THUMB_HEIGHT
Default thumbnail (the thumb and the contained page) height. |
static int |
DEFAULT_THUMB_WIDTH
Default thumbnail (the thumb and the contained page) width. |
Method Summary | |
---|---|
RenderedImage |
getThumbnail(Page page,
TaskExecutor<Page> taskExecutor,
RenderControls renderControls,
boolean createIfNotCached)
Returns a thumbnail image in given size of a page associated to. |
Field Detail |
---|
static final int DEFAULT_THUMB_WIDTH
static final int DEFAULT_THUMB_HEIGHT
Method Detail |
---|
RenderedImage getThumbnail(Page page, TaskExecutor<Page> taskExecutor, RenderControls renderControls, boolean createIfNotCached)
Depending on the concrete realisation, the returned image may be the
ready-made thumbnail image or for lazy creation null
or a
placeholder dummy image. If null
or a dummy image is returned
the given render observer gets informed to trigger an update render
process on the caller of this method. If the parameterized render observer
is null
, the update process remains in the hands of the
caller.
page
- the of which a thumbnail is demandedrenderControls
- the target size the thumbnail should havecreateIfNotCached
- TODO
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |