Index

A B C D F G I O R S W 
All Classes and Interfaces|All Packages

A

AsyncRenderer - Interface in org.jtrim2.ui.concurrent.query
Defines an object which is capable to render a component asynchronously.
AsyncRendererFactory - Interface in org.jtrim2.ui.concurrent.query
Creates new independent AsyncRenderer instances.

B

BackgroundDataProvider<IDType,RightType> - Class in org.jtrim2.ui.concurrent.query
Defines a class that allows to create AsyncDataQuery and AsyncDataLink instances which only provides data until a requested AccessToken is available.
BackgroundDataProvider(AccessManager<IDType, RightType>, UiExecutorProvider) - Constructor for class org.jtrim2.ui.concurrent.query.BackgroundDataProvider
Creates a new BackgroundDataProvider with the given AccessManager.

C

createLink(AccessRequest<? extends IDType, ? extends RightType>, AsyncDataLink<DataType>) - Method in class org.jtrim2.ui.concurrent.query.BackgroundDataProvider
Creates an AsyncDataLink which forwards every requested to the specified AsyncDataLink but delivers the retrieved data in the context of an access token of the access manager of this BackgroundDataProvider and also on the UI thread.
createQuery(AccessRequest<? extends IDType, ? extends RightType>, AsyncDataQuery<QueryArgType, DataType>) - Method in class org.jtrim2.ui.concurrent.query.BackgroundDataProvider
Creates an AsyncDataQuery which forwards every requested to the specified AsyncDataQuery but delivers the retrieved data in the context of an access token of the access manager of this BackgroundDataProvider.
createRenderer() - Method in interface org.jtrim2.ui.concurrent.query.AsyncRendererFactory
Creates an AsyncRenderer which is able to render a component.
createRenderer() - Method in class org.jtrim2.ui.concurrent.query.GenericAsyncRendererFactory
Creates an AsyncRenderer which is able to render a component.

D

DataRenderer<DataType> - Interface in org.jtrim2.ui.concurrent.query
Defines an arbitrary rendering task.

F

finishRendering(CancellationToken, AsyncReport) - Method in interface org.jtrim2.ui.concurrent.query.DataRenderer
This method is called to allow for a final rendering after no more render call will be done.

G

GenericAsyncRendererFactory - Class in org.jtrim2.ui.concurrent.query
An implementation of AsyncRendererFactory which executes rendering tasks in a TaskExecutor specified at construction time.
GenericAsyncRendererFactory(TaskExecutor) - Constructor for class org.jtrim2.ui.concurrent.query.GenericAsyncRendererFactory
Creates a new GenericAsyncRendererFactory which will execute rendering tasks on the specified TaskExecutor.
getAsyncDataState() - Method in interface org.jtrim2.ui.concurrent.query.RenderingState
Returns the state of asynchronous data retrieval process associated with the rendering.
getRenderingTime(TimeUnit) - Method in interface org.jtrim2.ui.concurrent.query.RenderingState
Returns the time elapsed since the rendering started.

I

isRenderingFinished() - Method in interface org.jtrim2.ui.concurrent.query.RenderingState
Returns true if the asynchronous rendering process has completed.

O

org.jtrim2.ui.concurrent.query - package org.jtrim2.ui.concurrent.query
Contains classes and interfaces related to concurrent data retrieval and rendering in GUI applications.

R

render(CancellationToken, DataType) - Method in interface org.jtrim2.ui.concurrent.query.DataRenderer
This method may be called multiple times to do the implementation defined rendering.
render(CancellationToken, AsyncDataLink<DataType>, DataRenderer<? super DataType>) - Method in interface org.jtrim2.ui.concurrent.query.AsyncRenderer
Submits a rendering requests to be done asynchronously.
RenderingState - Interface in org.jtrim2.ui.concurrent.query
Defines the state of an asynchronous rendering request.

S

startRendering(CancellationToken) - Method in interface org.jtrim2.ui.concurrent.query.DataRenderer
This method is invoked before calling any of the other methods of this interface.

W

willDoSignificantRender(DataType) - Method in interface org.jtrim2.ui.concurrent.query.DataRenderer
This method might be optionally called to determine if a subsequent invocation to the render method will be significant or not.
A B C D F G I O R S W 
All Classes and Interfaces|All Packages