Index

B E G O S T U W 
All Classes and Interfaces|All Packages

B

BackgroundTask - Interface in org.jtrim2.ui.concurrent
Defines a task which may take long time and is to be executed in the background.
BackgroundTaskExecutor<IDType,RightType> - Class in org.jtrim2.ui.concurrent
Defines an executor to execute background tasks of the GUI application.
BackgroundTaskExecutor(AccessManager<IDType, RightType>, TaskExecutor, UiExecutorProvider) - Constructor for class org.jtrim2.ui.concurrent.BackgroundTaskExecutor
Creates a new BackgroundTaskExecutor with the given access manager and TaskExecutor.

E

execute(CancellationToken, UiReporter) - Method in interface org.jtrim2.ui.concurrent.BackgroundTask
Executes the implementation dependent task of this BackgroundTask.

G

getSimpleExecutor(boolean) - Method in interface org.jtrim2.ui.concurrent.UiExecutorProvider
Returns a TaskExecutor which executes tasks submitted to them on the UI thread of the associated UI framework.
getStrictExecutor(boolean) - Method in interface org.jtrim2.ui.concurrent.UiExecutorProvider
Returns a TaskExecutor which executes tasks submitted to them on the UI thread of the associated UI framework.

O

org.jtrim2.ui.concurrent - package org.jtrim2.ui.concurrent
Defines generic utility to assist concurrency in thread confined UI frameworks (such as Swing or Java FX).

S

scheduleToExecute(AccessRequest<? extends IDType, ? extends RightType>, BackgroundTask) - Method in class org.jtrim2.ui.concurrent.BackgroundTaskExecutor
Submits the given BackgroundTask to the TaskExecutor specified at construction time after all the access tokens currently blocking access has been released.
scheduleToExecute(CancellationToken, AccessRequest<? extends IDType, ? extends RightType>, BackgroundTask) - Method in class org.jtrim2.ui.concurrent.BackgroundTaskExecutor
Submits the given BackgroundTask to the TaskExecutor specified at construction time after all the access tokens currently blocking access has been released.

T

tryExecute(AccessRequest<? extends IDType, ? extends RightType>, BackgroundTask) - Method in class org.jtrim2.ui.concurrent.BackgroundTaskExecutor
Submits the given BackgroundTask to the TaskExecutor specified at construction time if the given access rights can successfully acquired from the underlying access manager.
tryExecute(CancellationToken, AccessRequest<? extends IDType, ? extends RightType>, BackgroundTask) - Method in class org.jtrim2.ui.concurrent.BackgroundTaskExecutor
Submits the given BackgroundTask to the TaskExecutor specified at construction time if the given access rights can successfully acquired from the underlying access manager.

U

UiExecutorProvider - Interface in org.jtrim2.ui.concurrent
Defines a factory for executors scheduling events on the UI thread of the underlying UI framework (such as Swing or Java FX).
UiReporter - Interface in org.jtrim2.ui.concurrent
Defines an interface to report the progress of a BackgroundTask or execute other task on the AWT Event Dispatch Thread.
updateProgress(Runnable) - Method in interface org.jtrim2.ui.concurrent.UiReporter
Executes a task on the AWT Event Dispatch Thread which is intended to be used to display the current progress of the associated background task.

W

writeData(Runnable) - Method in interface org.jtrim2.ui.concurrent.UiReporter
Executes a generic task on the AWT Event Dispatch Thread.
B E G O S T U W 
All Classes and Interfaces|All Packages