Package org.fest.swing.edt
Class GuiTask
java.lang.Object
org.fest.swing.edt.GuiAction
org.fest.swing.edt.GuiTask
- All Implemented Interfaces:
Runnable
Understands a task that should be executed in the event dispatch thread.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
Specifies the action to execute in the event dispatch thread.final void
run()
Runs this task action and verifies that it is executed in the event dispatch thread.Methods inherited from class org.fest.swing.edt.GuiAction
catchedException, catchedException, clearCatchedException, executionNotification, notifyExecutionCompleted, wasExecutedInEDT
-
Constructor Details
-
GuiTask
public GuiTask()
-
-
Method Details
-
run
public final void run()Runs this task action and verifies that it is executed in the event dispatch thread.- Throws:
ActionFailedException
- if this task is not executed in the event dispatch thread.
-
executeInEDT
Specifies the action to execute in the event dispatch thread.- Throws:
Throwable
- any error thrown when executing an action in the event dispatch thread.
-