Uses of Interface
org.apache.pivot.util.concurrent.TaskListener
-
Packages that use TaskListener Package Description org.apache.pivot.util.concurrent Provides a set of classes to simplify the execution of background tasks.org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.media Contains classes that provide multimedia support. -
-
Uses of TaskListener in org.apache.pivot.util.concurrent
Methods in org.apache.pivot.util.concurrent with parameters of type TaskListener Modifier and Type Method Description void
Task. execute(TaskListener<V> taskListenerArgument)
Asynchronously executes the task.void
Task. execute(TaskListener<V> taskListenerArgument, java.util.concurrent.ExecutorService executorServiceArgument)
Asynchronously executes the task. -
Uses of TaskListener in org.apache.pivot.wtk
Classes in org.apache.pivot.wtk that implement TaskListener Modifier and Type Class Description class
TaskAdapter<T>
Class that forwards task events to the UI thread.class
WTKTaskListener<V>
Default implementation of theTaskListener
interface with default implementations of the methods.Constructors in org.apache.pivot.wtk with parameters of type TaskListener Constructor Description TaskAdapter(TaskListener<T> taskListener)
Creates a newTaskAdapter
that wraps the specified task listener. -
Uses of TaskListener in org.apache.pivot.wtk.media
Methods in org.apache.pivot.wtk.media with parameters of type TaskListener Modifier and Type Method Description static Image.LoadTask
Image. load(java.net.URL location, TaskListener<Image> loadListener)
Load an image from the given URL location, in the background, and return a reference to the background task.
-