Package VASSAL.tools.swing
Class EDTRunnableFuture<V>
java.lang.Object
VASSAL.tools.concurrent.SimpleFuture<V>
VASSAL.tools.concurrent.SimpleRunnableFuture<V>
VASSAL.tools.swing.EDTRunnableFuture<V>
- Type Parameters:
V- the result type returned by the {@see #get} method
- All Implemented Interfaces:
Runnable,Future<V>,RunnableFuture<V>,SettableFuture<V>,SettableRunnableFuture<V>
public abstract class EDTRunnableFuture<V> extends SimpleRunnableFuture<V>
A
RunnableFuture for use on the Event Dispatch Thread.- Since:
- 3.2.0
- Author:
- Joel Uckelman
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EDTRunnableFuture()Creates aRunnableFuturewhich will be run on the Event Dispatch Thread.EDTRunnableFuture(V result)Creates aRunnableFuturewhich will be run on the Event Dispatch Thread. -
Method Summary
Methods inherited from class VASSAL.tools.concurrent.SimpleFuture
cancel, get, get, isCancelled, isDone, set, setException
-
Constructor Details
-
EDTRunnableFuture
public EDTRunnableFuture()Creates aRunnableFuturewhich will be run on the Event Dispatch Thread. -
EDTRunnableFuture
Creates aRunnableFuturewhich will be run on the Event Dispatch Thread.- Parameters:
result- the result to return
-
-
Method Details