org.faceless.pdf2.viewer2.feature
Interface AreaSelectionAction

All Known Implementing Classes:
CropPage, HighlightSelectionAction, MarkupSelectionAction, RedactSelectionAction, StrikeOutSelectionAction, UnderlineSelectionAction

public interface AreaSelectionAction

A type of feature that will perform an action on an area selected with the SelectArea feature. Any features implementing this interface will be presented as an option by that feature.

Since:
2.11.25
See Also:
SelectArea, TextSelectionAction

Method Summary
 String getDescription()
          Get the name of this Action, to appear in the popup menu.
 boolean isEnabled()
          Indicates whether this action is enabled.
 void selectArea(PagePanel pagepanel, Rectangle2D area)
          Invoked when the area is selected.
 

Method Detail

getDescription

String getDescription()
Get the name of this Action, to appear in the popup menu.


selectArea

void selectArea(PagePanel pagepanel,
                Rectangle2D area)
Invoked when the area is selected.

Parameters:
pagepanel - the PagePanel the area was selected on
area - the selected area

isEnabled

boolean isEnabled()
Indicates whether this action is enabled.

Since:
2.13


Copyright © 2001-2013 Big Faceless Organization