Class InteractiveMaskTask
java.lang.Object
javax.swing.SwingWorker<HumanFace,Integer>
cz.fidentis.analyst.gui.task.interactivemask.InteractiveMaskTask
- All Implemented Interfaces:
Runnable
,Future<HumanFace>
,RunnableFuture<HumanFace>
Task to handle asynchronous projection of points from SurfaceMaskPanel onto HumanFace
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Constructor Summary
ConstructorsConstructorDescriptionParameterless constructorInteractiveMaskTask
(Canvas canvas, ArrayList<Point> pointsToProject, int panelWidth, int panelHeight) Constructor with 4 parmeters -
Method Summary
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
InteractiveMaskTask
public InteractiveMaskTask()Parameterless constructor -
InteractiveMaskTask
public InteractiveMaskTask(Canvas canvas, ArrayList<Point> pointsToProject, int panelWidth, int panelHeight) Constructor with 4 parmeters- Parameters:
canvas
- input canvaspointsToProject
- points to projectpanelWidth
- width of the drawing panelpanelHeight
- height of the drawing panel
-
-
Method Details
-
doInBackground
- Specified by:
doInBackground
in classSwingWorker<HumanFace,
Integer> - Throws:
Exception
-
done
protected void done()- Overrides:
done
in classSwingWorker<HumanFace,
Integer>
-