com.qoppa.pdfViewer.panels
Interface PageThumbnail


public interface PageThumbnail


Method Summary
 IPDFPage getPage()
          Returns the PDF page that this thumbnail represents.
 Dimension getPreferredSize()
          Returns the preferred size for this thumbnail.
 int getThumbHeight()
          Returns the height of this thumbnail
 int getThumbWidth()
          Returns the width of this thumbnail
 void paint(Graphics g, int paintX, int paintY, Color bgnd)
          Paints this thumbnail image to a Graphics object.
 

Method Detail

getPage

IPDFPage getPage()
Returns the PDF page that this thumbnail represents.

Returns:
The IPDFPage object that this thumbnail represents

getThumbHeight

int getThumbHeight()
Returns the height of this thumbnail

Returns:
The height of this thumbnail, in pixels

getThumbWidth

int getThumbWidth()
Returns the width of this thumbnail

Returns:
The width of the thumbnail, in pixels

getPreferredSize

Dimension getPreferredSize()
Returns the preferred size for this thumbnail.

Returns:
The preferred size.

paint

void paint(Graphics g,
           int paintX,
           int paintY,
           Color bgnd)
Paints this thumbnail image to a Graphics object.

Parameters:
g -
paintX -
paintY -
bgnd -