Class ReportingResourceWorkspace.SnapshotUpdater
java.lang.Object
javax.swing.SwingWorker<Optional<BufferedImage>, Void>
com.inductiveautomation.reporting.designer.workspace.ReportingResourceWorkspace.SnapshotUpdater
- All Implemented Interfaces:
Runnable, Future<Optional<BufferedImage>>, RunnableFuture<Optional<BufferedImage>>
- Enclosing class:
ReportingResourceWorkspace
public static class ReportingResourceWorkspace.SnapshotUpdater
extends SwingWorker<Optional<BufferedImage>, Void>
Background worker that resizes a byte[] to 250x300 for display in thumbnails/preview panels.
Provide a callback to actually handle the results.
-
Nested Class Summary
Nested classes/interfaces inherited from class SwingWorker
SwingWorker.StateValueNested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgressMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Constructor Details
-
SnapshotUpdater
-
-
Method Details
-
doInBackground
- Specified by:
doInBackgroundin classSwingWorker<Optional<BufferedImage>, Void>
-
done
protected void done()- Overrides:
donein classSwingWorker<Optional<BufferedImage>, Void>
-