public class ThumbLoader
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
class |
ThumbLoader.SeriesInfo
Helper class for sorting series by image plane size.
|
Modifier and Type | Field and Description |
---|---|
private java.awt.Dialog |
dialog |
private BufferedImageReader |
ir |
private java.lang.Thread |
loader |
private java.awt.Panel[] |
p |
private boolean |
stop |
Constructor and Description |
---|
ThumbLoader(IFormatReader ir,
java.awt.Panel[] p,
java.awt.Dialog dialog)
Constructs a new thumbnail loader.
|
Modifier and Type | Method and Description |
---|---|
static void |
loadThumb(BufferedImageReader thumbReader,
int series,
java.awt.Panel panel,
boolean quiet) |
void |
run()
Does the work of loading the thumbnails.
|
void |
stop()
Instructs the thumbnail loader to stop loading thumbnails.
|
private BufferedImageReader ir
private java.awt.Panel[] p
private java.awt.Dialog dialog
private boolean stop
private java.lang.Thread loader
public ThumbLoader(IFormatReader ir, java.awt.Panel[] p, java.awt.Dialog dialog)
ir
- the reader to use for obtaining the thumbnailsp
- the panels upon which to populate the resultsdialog
- the dialog containing the panelspublic void stop()
public void run()
run
in interface java.lang.Runnable
public static void loadThumb(BufferedImageReader thumbReader, int series, java.awt.Panel panel, boolean quiet)
Copyright © 2017 Open Microscopy Environment