Package jmri.jmrit.catalog
Class DirectorySearcher
- java.lang.Object
-
- jmri.jmrit.catalog.DirectorySearcher
-
- All Implemented Interfaces:
InstanceManagerAutoDefault
public class DirectorySearcher extends java.lang.Object implements InstanceManagerAutoDefault
A file system directory searcher to locate Image files to include in an Image Catalog.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
DirectorySearcher.CActionListener
(package private) class
DirectorySearcher.LActionListener
(package private) class
DirectorySearcher.MActionListener
(package private) class
DirectorySearcher.Seacher
-
Field Summary
Fields Modifier and Type Field Description (package private) PreviewDialog
_previewDialog
(package private) DirectorySearcher.Seacher
_searcher
(package private) javax.swing.JFrame
_waitDialog
(package private) javax.swing.JLabel
_waitText
-
Constructor Summary
Constructors Constructor Description DirectorySearcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static DirectorySearcher
instance()
protected static int
numImageFiles(java.io.File dir)
void
openDirectory()
Open one directory.(package private) void
searcherDone(java.io.File dir, int count)
void
searchFS()
-
-
-
Field Detail
-
_previewDialog
PreviewDialog _previewDialog
-
_searcher
DirectorySearcher.Seacher _searcher
-
_waitDialog
javax.swing.JFrame _waitDialog
-
_waitText
javax.swing.JLabel _waitText
-
-
Constructor Detail
-
DirectorySearcher
public DirectorySearcher()
-
-
Method Detail
-
instance
public static DirectorySearcher instance()
-
numImageFiles
protected static int numImageFiles(java.io.File dir)
-
openDirectory
public void openDirectory()
Open one directory.
-
searchFS
public void searchFS()
-
searcherDone
void searcherDone(java.io.File dir, int count)
-
close
public void close()
-
-