com.qoppa.pdfViewer.panels
Interface ThumbnailPanel

All Superinterfaces:
PDFPanel
All Known Subinterfaces:
ThumbnailPanelNotes

public interface ThumbnailPanel
extends PDFPanel

Interface to the panel that shows the page thumbnail images for the current document.

Author:
Qoppa Software

Field Summary
 
Fields inherited from interface com.qoppa.pdfViewer.panels.PDFPanel
ALWAYS_ACTIVE, DEFAULT_POLICY, NEVER_ACTIVE
 
Method Summary
 JButton getjbOptions()
          Returns a reference to the options button
 JPopupMenu getjpmOptionsMenu()
          Returns a reference to the options popup menu.
 JList getThumbList()
          Returns the JList component that holds the thumbnail images.
 void setThumbnailSizes(int width, int height)
          Sets the size of the thumbnail images.
 
Methods inherited from interface com.qoppa.pdfViewer.panels.PDFPanel
getActivePolicy, getToolbar, isActive, isPaneSelected, setActive, setActivePolicy, setPaneVisible
 

Method Detail

setThumbnailSizes

void setThumbnailSizes(int width,
                       int height)
Sets the size of the thumbnail images. When the images are created, the aspect ratio of the page is preserved, so the width and height set here are essentially the max width and max height that will be used when creating the images.

Parameters:
width - The new maximum width of the thumbnail images
height - The new maximum height of the thumbnail images

getjbOptions

JButton getjbOptions()
Returns a reference to the options button

Returns:
A reference to the options button

getjpmOptionsMenu

JPopupMenu getjpmOptionsMenu()
Returns a reference to the options popup menu. This menu is shown when the options button is clicked. The host application can use this to modify the menu by adding or removing entries.

Returns:
A reference to the options popup menu.

getThumbList

JList getThumbList()
Returns the JList component that holds the thumbnail images.

Returns:
the JList that holds the image components.