public abstract class ALcdPaintExecutorService extends Object
EventQueue
,
TLcdGXYViewBufferedImage.setPaintExecutorService(com.luciad.view.ALcdPaintExecutorService)
Constructor and Description |
---|
ALcdPaintExecutorService() |
Modifier and Type | Method and Description |
---|---|
static ALcdPaintExecutorService |
create()
Creates a new paint executor service backed by a daemon thread.
|
static ALcdPaintExecutorService |
createEDT()
Creates a new paint executor service backed by the Event Dispatch Thread, also known as AWT thread or Swing thread.
|
abstract void |
invokeAndWait(Runnable aRunnable)
Causes
aRunnable to have its run
method called in the thread of this paint executor service. |
abstract void |
invokeLater(Runnable aRunnable)
Causes
aRunnable to have its run
method called in the thread of this paint executor service. |
abstract boolean |
isCurrentThread() |
public static ALcdPaintExecutorService create()
public static ALcdPaintExecutorService createEDT()
public abstract boolean isCurrentThread()
public abstract void invokeAndWait(Runnable aRunnable)
aRunnable
to have its run
method called in the thread of this paint executor service.
This will happen after all pending invocations are processed.
The calling thread is blocked until the runnable has finished.aRunnable
- the runnable to executepublic abstract void invokeLater(Runnable aRunnable)
aRunnable
to have its run
method called in the thread of this paint executor service.
This will happen after all pending invocations are processed.aRunnable
- the runnable to execute