public class FileChooserControl extends java.lang.Object implements GUIControl
| Constructor and Description |
|---|
FileChooserControl(java.lang.String extension,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
choose(java.awt.Component parent) |
javax.swing.JComponent |
getGUI() |
javax.swing.JFileChooser |
getJFileChooser() |
java.io.File |
getSelectedFileRequireExtension() |
boolean |
isSaving()
Returns true if this is a file saving control (as opposed to a file opening control).
|
void |
setSaving(boolean tizit)
Specify true if this is a file saving control (as opposed to a file opening control)
|
public FileChooserControl(java.lang.String extension,
java.lang.String description)
public javax.swing.JComponent getGUI()
getGUI in interface GUIControlpublic javax.swing.JFileChooser getJFileChooser()
public boolean isSaving()
public void setSaving(boolean tizit)
tizit - true if this is a file saving control, false if it is a file opening controlpublic boolean choose(java.awt.Component parent)
public java.io.File getSelectedFileRequireExtension()