org.faceless.pdf2.viewer2.feature
Class ThumbnailPanel

java.lang.Object
  extended by org.faceless.pdf2.viewer2.ViewerFeature
      extended by org.faceless.pdf2.viewer2.SidePanelFactory
          extended by org.faceless.pdf2.viewer2.feature.ThumbnailPanel
Direct Known Subclasses:
ReadOnlyThumbnailPanel

public class ThumbnailPanel
extends SidePanelFactory

Creates a SidePanel that displays the page thumbnails. Since release 2.10.2 the Thumbnail panel can also be used to reorder, delete and insert pages or entire documents. Modifying a document in this way requires the EncryptionHandler on the document grants the "Assemble" right. The name of this feature is "ShowHideThumbnails".

This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.

Since:
2.8

Constructor Summary
ThumbnailPanel()
          Create a new ThumbnailPanel
 
Method Summary
 SidePanel createSidePanel()
          Create and return a new SidePanel.
static ThumbnailPanel getInstance()
          Deprecated. call the Constructor instead
 void setEditable(boolean editmode)
          Determine whether SidePanels created by this factory allow pages to be reordered, deleted and so on.
 
Methods inherited from class org.faceless.pdf2.viewer2.SidePanelFactory
isSidePanelRequired, toString
 
Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature
getAllFeatures, getCustomJavaScript, getName, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThumbnailPanel

public ThumbnailPanel()
Create a new ThumbnailPanel

Since:
2.10.2
Method Detail

getInstance

public static ThumbnailPanel getInstance()
Deprecated. call the Constructor instead

Return a new ThumbnailPanel


setEditable

public void setEditable(boolean editmode)
Determine whether SidePanels created by this factory allow pages to be reordered, deleted and so on. The default is true.

Parameters:
editmode - true if SidePanels created by this Factory allow alterations to the PDF
Since:
2.10.2

createSidePanel

public SidePanel createSidePanel()
Description copied from class: SidePanelFactory
Create and return a new SidePanel.

Specified by:
createSidePanel in class SidePanelFactory


Copyright © 2001-2008 Big Faceless Organization