public class DefaultGUIService extends org.scijava.service.AbstractService implements GUIService
GUIService implementation.| Constructor and Description |
|---|
DefaultGUIService() |
| Modifier and Type | Method and Description |
|---|---|
JFileChooser |
buildFileChooser(Collection<Format> formats)
Constructs a file chooser for the given file format handler.
|
JFileChooser |
buildFileChooser(Collection<Format> formats,
boolean preview)
Constructs a file chooser for the given file format handler.
|
JFileChooser |
buildFileChooser(FileFilter[] filters)
Builds a file chooser with the given file filters, as well as an "All
supported file types" combo filter.
|
JFileChooser |
buildFileChooser(FileFilter[] filters,
boolean preview)
Builds a file chooser with the given file filters, as well as an "All
supported file types" combo filter, if one is not already specified.
|
FileFilter[] |
buildFileFilters(Collection<Format> formats)
Constructs a list of file filters for the given file format handler.
|
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic FileFilter[] buildFileFilters(Collection<Format> formats)
GUIServicebuildFileFilters in interface GUIServicepublic JFileChooser buildFileChooser(Collection<Format> formats)
GUIServicebuildFileChooser in interface GUIServicepublic JFileChooser buildFileChooser(Collection<Format> formats, boolean preview)
GUIServicebuildFileChooser in interface GUIServicepublic JFileChooser buildFileChooser(FileFilter[] filters)
GUIServicebuildFileChooser in interface GUIServicepublic JFileChooser buildFileChooser(FileFilter[] filters, boolean preview)
GUIServicebuildFileChooser in interface GUIServicepreview - If set, chooser has a preview pane showing a thumbnail and
other information for the selected file.Copyright © 2011–2026 SCIFIO. All rights reserved.