|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
This interface describes a task that should be performed asynchronously (because it is potentially time-consuming and should not delay the GUI).
Method Summary | |
---|---|
void |
run()
This method should execute the time-consuming task that is to be performed asynchronously. |
void |
updateGUI()
This method should do the GUI update after run() has finished. |
Method Detail |
---|
void run()
void updateGUI()
run()
has finished.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |