public interface TextSelectionAction
TextTool
feature.
When text is selected in the TextTool
and the mouse is
right-clicked, the user will have the option to apply one of
these actions to the selected text. Typically this is used
to highlight, underline etc. text in the PDFAreaSelectionAction
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the name of this Action, to appear in the popup menu.
|
boolean |
isEnabled()
Indicates whether this action is enabled.
|
void |
selectAction(DocumentPanel docpanel,
TextSelection.RangeList ranges)
Run the action.
|
String getDescription()
void selectAction(DocumentPanel docpanel, TextSelection.RangeList ranges)
docpanel
- the DocumentPanel this action is being run on.ranges
- the TextSelection.RangeList
containing the list of selected text items, which may be from multiple pagesboolean isEnabled()
Copyright © 2001-2017 Big Faceless Organization