|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faceless.pdf2.viewer2.ViewerFeature
org.faceless.pdf2.viewer2.SidePanelFactory
org.faceless.pdf2.viewer2.feature.ThumbnailPanel
public class ThumbnailPanel
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.
| editable | true or false, for setEditable() |
|---|---|
| scrollFollow | true or false, for setScrollFollow() |
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.
| Constructor Summary | |
|---|---|
ThumbnailPanel()
Create a new ThumbnailPanel |
|
| Method Summary | |
|---|---|
SidePanel |
createSidePanel()
Create and return a new SidePanel. |
ThumbnailPanel |
getInstance()
Deprecated. since 2.10.2 just calls the public constructor |
void |
initialize(PDFViewer viewer)
Called when the feature is first added to a viewer |
void |
setEditable(boolean editmode)
Determine whether SidePanels created by this factory allow pages to be reordered, deleted and so on. |
void |
setScrollFollow(boolean follow)
Set whether the thumbnail panel should scroll to follow the currently selected page or not. |
| Methods inherited from class org.faceless.pdf2.viewer2.SidePanelFactory |
|---|
isSidePanelRequired, toString |
| Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature |
|---|
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getName, isEnabledByDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThumbnailPanel()
| Method Detail |
|---|
public ThumbnailPanel getInstance()
public void setEditable(boolean editmode)
editmode - true if SidePanels created by this Factory allow alterations to the PDFpublic void setScrollFollow(boolean follow)
follow - whether to follow the currently selected page
in the viewport or not.public void initialize(PDFViewer viewer)
ViewerFeature
initialize in class ViewerFeaturepublic SidePanel createSidePanel()
SidePanelFactorySidePanel.
createSidePanel in class SidePanelFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||