public final class GUITools
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.JFileChooser |
buildFileChooser(javax.swing.filechooser.FileFilter[] filters)
Builds a file chooser with the given file filters,
as well as an "All supported file types" combo filter.
|
static javax.swing.JFileChooser |
buildFileChooser(javax.swing.filechooser.FileFilter[] filters,
boolean preview)
Builds a file chooser with the given file filters,
as well as an "All supported file types" combo filter.
|
static javax.swing.JFileChooser |
buildFileChooser(loci.formats.IFormatHandler handler)
Constructs a file chooser for the given file format handler.
|
static javax.swing.JFileChooser |
buildFileChooser(loci.formats.IFormatHandler handler,
boolean preview)
Constructs a file chooser for the given file format handler.
|
static javax.swing.filechooser.FileFilter[] |
buildFileFilters(loci.formats.IFormatHandler handler)
Constructs a list of file filters for the given file format handler.
|
public static javax.swing.filechooser.FileFilter[] buildFileFilters(loci.formats.IFormatHandler handler)
public static javax.swing.JFileChooser buildFileChooser(loci.formats.IFormatHandler handler)
public static javax.swing.JFileChooser buildFileChooser(loci.formats.IFormatHandler handler,
boolean preview)
public static javax.swing.JFileChooser buildFileChooser(javax.swing.filechooser.FileFilter[] filters)
public static javax.swing.JFileChooser buildFileChooser(javax.swing.filechooser.FileFilter[] filters,
boolean preview)