Class ThumbnailPasteAction
- java.lang.Object
-
- org.faceless.pdf2.viewer2.ViewerFeature
-
- org.faceless.pdf2.viewer2.feature.ThumbnailPasteAction
-
- All Implemented Interfaces:
ThumbnailPanel.ThumbnailSelectionAction
public class ThumbnailPasteAction extends ViewerFeature implements ThumbnailPanel.ThumbnailSelectionAction
Moves the pages that have previously been stored with a cut operation to before the currently selected page in the thumbnail panel, and clears the list of such pages. The name of this feature is ThumbnailPasteThis 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.15
-
-
Constructor Summary
Constructors Constructor Description ThumbnailPasteAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction(ThumbnailPanel.View view)
Return an Action for the specified View, ornull
if this action is not appropriate for the View (for example, because it edits the Document and theThumbnailPanel.View.isEditable()
method returns falsevoid
initialize(PDFViewer viewer)
Called when the feature is first added to a viewer-
Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getFeatureURLProperty, getName, isEnabledByDefault, setFeatureName, teardown, toString
-
-
-
-
Method Detail
-
initialize
public void initialize(PDFViewer viewer)
Description copied from class:ViewerFeature
Called when the feature is first added to a viewer- Overrides:
initialize
in classViewerFeature
-
getAction
public Action getAction(ThumbnailPanel.View view)
Description copied from interface:ThumbnailPanel.ThumbnailSelectionAction
Return an Action for the specified View, ornull
if this action is not appropriate for the View (for example, because it edits the Document and theThumbnailPanel.View.isEditable()
method returns false- Specified by:
getAction
in interfaceThumbnailPanel.ThumbnailSelectionAction
-
-