Interface SelectionProcessor
-
- All Superinterfaces:
Destroyable,EventListener,ImagePanelSelectionListener,OptionHandler,ShallowCopySupporter<SelectionProcessor>
- All Known Subinterfaces:
SelectionProcessorWithLabelSupport
- All Known Implementing Classes:
AbstractPaintingSelectionProcessor,AbstractSelectionProcessor,AbstractSelectionRectangleBasedSelectionProcessor,CopyToClipboard,Crop,MultiSelectionProcessor,NullProcessor,PaintSelection,SelectObjects,ShowCoordinates
public interface SelectionProcessor extends ImagePanelSelectionListener, OptionHandler, ShallowCopySupporter<SelectionProcessor>
Interface for selection processors.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessSelection(ImagePanel panel, Point topLeft, Point bottomRight, List<Point> trace, int modifiersEx)Process the selection that occurred in the image panel.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.gui.event.ImagePanelSelectionListener
imageChanged, selected
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
-
-
-
Method Detail
-
processSelection
void processSelection(ImagePanel panel, Point topLeft, Point bottomRight, List<Point> trace, int modifiersEx)
Process the selection that occurred in the image panel.- Parameters:
panel- the origintopLeft- the top-left position of the selectionbottomRight- the bottom-right position of the selectionmodifiersEx- the associated modifiers
-
-