|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.browser.component.FileDialogs
public class FileDialogs
File dialog utilities
| Nested Class Summary | |
|---|---|
(package private) static class |
FileDialogs.XFileFilter
Extended file filter |
| Field Summary | |
|---|---|
private static javax.swing.filechooser.FileFilter |
theExecutableFileFilter
Executable file filter |
private static javax.swing.filechooser.FileFilter |
theJarFileFilter
Properties file filter |
private static javax.swing.filechooser.FileFilter |
thePixesFileFilter
Picture file filter |
private static javax.swing.filechooser.FileFilter |
thePropertiesFileFilter
Properties file filter |
private static javax.swing.filechooser.FileFilter |
theXmlFileFilter
XML file filter |
| Constructor Summary | |
|---|---|
FileDialogs()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getExec(java.lang.String thisCurrentDirectory)
Get executable |
static java.lang.String |
getFolder(java.lang.String thisCurrentDirectory)
Get directory |
static java.lang.String |
getJar(java.lang.String thisCurrentDirectory)
Get jar |
static java.lang.String |
getPixes(java.lang.String thisCurrentDirectory)
Get pixes file path |
static java.lang.String |
getProperties(java.lang.String thisCurrentDirectory)
Get properties file path |
static java.lang.String |
getXml(java.lang.String thisCurrentDirectory)
Get XML file path |
static java.lang.String |
getXmlUrl(java.lang.String thisCurrentDirectory)
Get XML url |
private static javax.swing.JFileChooser |
makeFileChooser()
Make file chooser |
private static javax.swing.JFileChooser |
makeFolderChooser()
Make folder chooser |
private static void |
setCurrentDirectory(javax.swing.JFileChooser thisChooser,
java.lang.String thisCurrentDirectory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static javax.swing.filechooser.FileFilter theExecutableFileFilter
private static javax.swing.filechooser.FileFilter thePropertiesFileFilter
private static javax.swing.filechooser.FileFilter theJarFileFilter
private static javax.swing.filechooser.FileFilter theXmlFileFilter
private static javax.swing.filechooser.FileFilter thePixesFileFilter
| Constructor Detail |
|---|
public FileDialogs()
| Method Detail |
|---|
public static java.lang.String getExec(java.lang.String thisCurrentDirectory)
thisCurrentDirectory - current directory
public static java.lang.String getJar(java.lang.String thisCurrentDirectory)
thisCurrentDirectory - current directory
public static java.lang.String getProperties(java.lang.String thisCurrentDirectory)
thisCurrentDirectory - current directory
public static java.lang.String getPixes(java.lang.String thisCurrentDirectory)
thisCurrentDirectory - current directory
public static java.lang.String getXml(java.lang.String thisCurrentDirectory)
thisCurrentDirectory - current directory
public static java.lang.String getXmlUrl(java.lang.String thisCurrentDirectory)
thisCurrentDirectory - current directory
public static java.lang.String getFolder(java.lang.String thisCurrentDirectory)
thisCurrentDirectory - current directory
private static javax.swing.JFileChooser makeFileChooser()
private static javax.swing.JFileChooser makeFolderChooser()
private static void setCurrentDirectory(javax.swing.JFileChooser thisChooser,
java.lang.String thisCurrentDirectory)
thisChooser - file chooserthisCurrentDirectory - directory to set as current
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||