org.icepdf.core.pobjects
Class Thumbnail

java.lang.Object
  extended by org.icepdf.core.pobjects.Dictionary
      extended by org.icepdf.core.pobjects.Thumbnail

public class Thumbnail
extends Dictionary

A PDF document may contain thumbnail images representing the contents of its pages in miniature form. A conforming reader may display these images on the screen, allowing the user to navigate to a page by clicking its thumbnail image:

NOTEThumbnail images are not required, and may be included for some pages and not for others.


Field Summary
static Name HEIGHT_KEY
           
static Name THUMB_KEY
           
static Name WIDTH_KEY
           
 
Fields inherited from class org.icepdf.core.pobjects.Dictionary
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY
 
Constructor Summary
Thumbnail(Library library, java.util.HashMap entries)
           
 
Method Summary
 java.awt.Dimension getDimension()
           
 java.awt.image.BufferedImage getImage()
           
 void init()
          Initiate the Dictionary.
 
Methods inherited from class org.icepdf.core.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

THUMB_KEY

public static final Name THUMB_KEY

WIDTH_KEY

public static final Name WIDTH_KEY

HEIGHT_KEY

public static final Name HEIGHT_KEY
Constructor Detail

Thumbnail

public Thumbnail(Library library,
                 java.util.HashMap entries)
Method Detail

init

public void init()
Description copied from class: Dictionary
Initiate the Dictionary. Retrieve any needed attributes.

Overrides:
init in class Dictionary

getImage

public java.awt.image.BufferedImage getImage()

getDimension

public java.awt.Dimension getDimension()