public class MarvinThread
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
MarvinThread(MarvinImagePlugin plg,
MarvinImage imgIn,
MarvinImage imgOut,
MarvinImageMask mask)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addThreadListener(MarvinThreadListener l)
Set a thread listener.
|
long |
getId() |
void |
run()
Thread´s run method.
|
void |
start()
Starts the thread.
|
public MarvinThread(MarvinImagePlugin plg, MarvinImage imgIn, MarvinImage imgOut, MarvinImageMask mask)
plg
- plugin associated with this thread.imgIn
- plug-in input image.imgOut
- plug-in output image.mask
- image mask.public long getId()
public void start()
public void addThreadListener(MarvinThreadListener l)
TODO
- Support a list of listeners.a_listener
- - listener object.public void run()
run
in interface java.lang.Runnable