org.fest.swing.edt
Class GuiTask
java.lang.Object
org.fest.swing.edt.GuiTask
- All Implemented Interfaces:
- Runnable
public abstract class GuiTask
- extends Object
Understands a task that should be executed in the event dispatch thread.
- Author:
- Alex Ruiz
Method Summary |
protected abstract void |
executeInEDT()
Specifies the action to execute in the event dispatch thread. |
void |
run()
Runs this task action and verifies that it is executed in the event dispatch thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiTask
public GuiTask()
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
protected abstract void executeInEDT()
throws Throwable
- Specifies the action to execute in the event dispatch thread.
- Throws:
Throwable
- any error thrown when executing an action in the event dispatch thread.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.