Class EdtExecutor
java.lang.Object
be.imgn.swing.ui.EdtExecutor
- All Implemented Interfaces:
Executor
The executor of
OnEdt: runs each task with EventQueue.invokeLater(Runnable). A bus that the framework
didn't build, such as one made with EventBus.create(), uses it; the application's bus doesn't.-
Constructor Summary
ConstructorsConstructorDescriptionCreates the executor; the code gaia-processor generates forOnEdtmethods does. -
Method Summary
-
Constructor Details
-
EdtExecutor
public EdtExecutor()Creates the executor; the code gaia-processor generates forOnEdtmethods does.
-
-
Method Details
-
execute
Runs a task on the EDT, after the events already queued.- Specified by:
executein interfaceExecutor- Parameters:
task- the task- Throws:
NullPointerException- iftaskisnull
-