public class SwingFileDialogs extends Object implements XFileDialogs
Constructor and Description |
---|
SwingFileDialogs(Component parent) |
Modifier and Type | Method and Description |
---|---|
static JFileChooser |
getChooser(Object action) |
static Component |
getParent() |
File |
open(Object action,
String title,
String extension,
String fileType,
String current) |
File |
openDirectory(Object action,
String title,
File defaultDirectory) |
static File |
openFile(Object action,
String title,
String extension,
String fileType,
String current) |
File |
openFileOrDirectory(Object action,
String title,
File defaultDirectory) |
File |
openXML(Object action,
String title) |
File |
saveAs(Object action,
String title) |
File |
saveAs(Object action,
String title,
String extension,
String fileType,
File defaultFile) |
File |
saveAsDirectory(Object action,
String title,
File defaultDirectory) |
public SwingFileDialogs(Component parent)
public static JFileChooser getChooser(Object action)
public static Component getParent()
public File saveAs(Object action, String title)
saveAs
in interface XFileDialogs
public File saveAs(Object action, String title, String extension, String fileType, File defaultFile)
saveAs
in interface XFileDialogs
public File open(Object action, String title, String extension, String fileType, String current)
open
in interface XFileDialogs
public static File openFile(Object action, String title, String extension, String fileType, String current)
public File openXML(Object action, String title)
openXML
in interface XFileDialogs
public File openDirectory(Object action, String title, File defaultDirectory)
openDirectory
in interface XFileDialogs
public File openFileOrDirectory(Object action, String title, File defaultDirectory)
openFileOrDirectory
in interface XFileDialogs
public File saveAsDirectory(Object action, String title, File defaultDirectory)
saveAsDirectory
in interface XFileDialogs
Copyright © 2019. All Rights Reserved.