|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProgressRunner
An interface for facilities that can run tasks, synchronously or asynchronously, and allow them
to show their progress using a ProgressIndicator.
| Nested Class Summary | |
|---|---|
static interface |
ProgressRunner.ProgressRunnable
Interface for tasks that can show their progress using a ProgressIndicator. |
| Method Summary | |
|---|---|
void |
runAsyncWithProgress(ProgressRunner.ProgressRunnable r)
Runs a task synchronously. |
void |
runSyncWithoutProgress(java.lang.Runnable r)
Runs a ProgressRunner.ProgressRunnable synchronously. |
void |
runSyncWithProgress(ProgressRunner.ProgressRunnable r)
Runs a task asynchronously. |
| Method Detail |
|---|
void runAsyncWithProgress(@NonNull
ProgressRunner.ProgressRunnable r)
void runSyncWithProgress(@NonNull
ProgressRunner.ProgressRunnable r)
void runSyncWithoutProgress(@NonNull
java.lang.Runnable r)
ProgressRunner.ProgressRunnable synchronously. Useful if e.g. it must be run on a certain thread.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||