Index
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
AsyncRendererinstances.
B
- BackgroundDataProvider<IDType,
RightType> - Class in org.jtrim2.ui.concurrent.query -
Defines a class that allows to create
AsyncDataQueryandAsyncDataLinkinstances which only provides data until a requestedAccessTokenis available. - BackgroundDataProvider(AccessManager<IDType, RightType>, UiExecutorProvider) - Constructor for class org.jtrim2.ui.concurrent.query.BackgroundDataProvider
-
Creates a new
BackgroundDataProviderwith the givenAccessManager.
C
- createLink(AccessRequest<? extends IDType, ? extends RightType>, AsyncDataLink<DataType>) - Method in class org.jtrim2.ui.concurrent.query.BackgroundDataProvider
-
Creates an
AsyncDataLinkwhich forwards every requested to the specifiedAsyncDataLinkbut delivers the retrieved data in the context of an access token of the access manager of thisBackgroundDataProviderand 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
AsyncDataQuerywhich forwards every requested to the specifiedAsyncDataQuerybut delivers the retrieved data in the context of an access token of the access manager of thisBackgroundDataProvider. - createRenderer() - Method in interface org.jtrim2.ui.concurrent.query.AsyncRendererFactory
-
Creates an
AsyncRendererwhich is able to render a component. - createRenderer() - Method in class org.jtrim2.ui.concurrent.query.GenericAsyncRendererFactory
-
Creates an
AsyncRendererwhich 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
rendercall will be done.
G
- GenericAsyncRendererFactory - Class in org.jtrim2.ui.concurrent.query
-
An implementation of
AsyncRendererFactorywhich executes rendering tasks in aTaskExecutorspecified at construction time. - GenericAsyncRendererFactory(TaskExecutor) - Constructor for class org.jtrim2.ui.concurrent.query.GenericAsyncRendererFactory
-
Creates a new
GenericAsyncRendererFactorywhich will execute rendering tasks on the specifiedTaskExecutor. - 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
trueif 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
rendermethod will be significant or not.
All Classes and Interfaces|All Packages