public interface BackgroundWorker
BackgroundTask
execution functionality.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
void |
checkUIAccess() |
UIAccessor |
getUIAccessor()
Obtain UI access for later use from background thread.
|
<T,V> BackgroundTaskHandler<V> |
handle(BackgroundTask<T,V> task)
Create handler for a background task.
|
static final java.lang.String NAME
<T,V> BackgroundTaskHandler<V> handle(BackgroundTask<T,V> task)
T
- progress measure unitV
- task result typetask
- background task instanceIllegalConcurrentAccessException
- in case of call from non UI threadUIAccessor getUIAccessor()
IllegalConcurrentAccessException
- in case of call from non UI threadvoid checkUIAccess()
IllegalConcurrentAccessException
- in case of call from non UI thread