org.faceless.pdf2.viewer2.feature
Class TextCopyAction

java.lang.Object
  extended by org.faceless.pdf2.viewer2.ViewerFeature
      extended by org.faceless.pdf2.viewer2.feature.TextSelectionAction
          extended by org.faceless.pdf2.viewer2.feature.TextCopyAction

public class TextCopyAction
extends TextSelectionAction

A TextSelectionAction that will copy the selected text to the System clipboard.

Since:
2.11.19

Constructor Summary
TextCopyAction()
           
 
Method Summary
 String getDescription()
          Get the name of this Action, to appear in the popup menu.
 void selectAction(DocumentPanel docpanel, TextSelection.RangeList range)
          Run the action.
 
Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getName, initialize, isEnabledByDefault, setFeatureName, teardown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextCopyAction

public TextCopyAction()
Method Detail

getDescription

public String getDescription()
Description copied from class: TextSelectionAction
Get the name of this Action, to appear in the popup menu.

Specified by:
getDescription in class TextSelectionAction

selectAction

public void selectAction(DocumentPanel docpanel,
                         TextSelection.RangeList range)
Description copied from class: TextSelectionAction
Run the action.

Specified by:
selectAction in class TextSelectionAction
Parameters:
docpanel - the DocumentPanel this action is being run on.
range - the TextSelection.RangeList containing the list of selected text items, which may be from multiple pages


Copyright © 2001-2010 Big Faceless Organization