Class LogicalOperationWorker
This SwingWorker is used to perform logical operations (AND, AND NOT, UNION, INTERSECTION, XOR)
on ROIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class SwingWorker
SwingWorker.StateValueNested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
ConstructorsConstructorDescriptionLogicalOperationWorker(CanAddROIToFrame f, List<ROI> rois, LogicalOperator op) Creates a new LogicalOperationWorker to operate on a set of ROIs. -
Method Summary
Methods inherited from class SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, removePropertyChangeListener, runMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Constructor Details
-
LogicalOperationWorker
Creates a new LogicalOperationWorker to operate on a set of ROIs.- Parameters:
f- theCanAddROIToFramethat will (if non-null) be updated when thisLogicalOperationWorkerhas finished.rois- theList<ROI>of ROIs to be operated on.op- the logical operation to perform.
-
-
Method Details
-
doInBackground
-
done
public void done()
-