Package hec.map.renderer
Class MapScaleImage
- All Implemented Interfaces:
Runnable,Future<Image>,RunnableFuture<Image>
Idea is to keep MapScale with the image it was generated for. Also, want to be able to get MapScale while the image
is being computed...
-
Field Summary
Fields inherited from class hec.util.concurrent.AwaitableFutureTask
actuallyFinishedLatch, wasStarted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddListener(Runnable listener) protected voiddone()Internal implementation detail used to invoke the listeners.Methods inherited from class hec.util.concurrent.AwaitableFutureTask
awaitActualCompletion, cancel, get, isFinished, isRunning, wasStartedMethods inherited from class java.util.concurrent.FutureTask
get, isCancelled, isDone, run, runAndReset, set, setException, toString
-
Constructor Details
-
MapScaleImage
-
-
Method Details
-
getMapScale
-
addListener
-
done
protected void done()Internal implementation detail used to invoke the listeners.- Overrides:
donein classFutureTask<Image>
-
addCallback
-