com.qoppa.pdfViewer.panels
Interface ThumbnailPanel


public interface ThumbnailPanel

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

Author:
Qoppa Software

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.
 PanelToolbar getToolbar()
          Returns a reference to this panel's toolbar.
 void setThumbnailSizes(int width, int height)
          Sets the size of the thumbnail images.
 

Method Detail

setThumbnailSizes

public 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

getToolbar

public PanelToolbar getToolbar()
Returns a reference to this panel's toolbar.

Returns:
The panel toolbar

getjbOptions

public JButton getjbOptions()
Returns a reference to the options button

Returns:
A reference to the options button

getjpmOptionsMenu

public 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

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

Returns:
the JList that holds the image components.