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
 
Fields inherited from class org.icepdf.core.pobjects.Dictionary
entries, inited, isDeleted, isNew, library, SUBTYPE_KEY, TYPE_KEY
 
Constructor Summary
Thumbnail(Library library, java.util.Hashtable 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, 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
 

Constructor Detail

Thumbnail

public Thumbnail(Library library,
                 java.util.Hashtable 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()