All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
FileChooserBookmarkList |
getBookmarks() |
JIPipeDefaultApplicationSettingsSheetCategory |
getDefaultCategory()
Returns one of the predefined categories
|
String |
getDescription()
Description of this settings sheet
|
JIPipeFileChooserApplicationSettings.FileChooserType |
getFileChooserType() |
Icon |
getIcon()
The icon of the settings sheet
|
String |
getId()
The unique ID of the settings sheet
|
static JIPipeFileChooserApplicationSettings |
getInstance() |
Path |
getLastDataDirectory() |
Path |
getLastDirectoryBy(JIPipeFileChooserApplicationSettings.LastDirectoryKey key)
Gets the last directory by key
|
Path |
getLastExternalDirectory() |
Path |
getLastParametersDirectory() |
Path |
getLastProjectsDirectory() |
String |
getName()
The name of the settings sheet as displayed in the UI
|
boolean |
isAddFileExtension() |
static List<Path> |
openDirectories(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title)
Lets the user choose multiple directories
|
static Path |
openDirectory(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title)
Lets the user choose a directory
|
static Path |
openFile(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title,
FileNameExtensionFilter... extensionFilters)
Lets the user choose a file
|
static List<Path> |
openFiles(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title)
Lets the user choose multiple files
|
static Path |
openPath(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title)
Lets the user choose a file or directory
|
static List<Path> |
openPaths(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title)
Lets the user choose multiple files or directories
|
static Path |
saveDirectory(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title)
Lets the user choose a directory
|
static Path |
saveFile(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title,
FileNameExtensionFilter... extensionFilters)
Lets the user choose a file
|
static Path |
savePath(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title)
Lets the user choose a file or directory
|
static List<Path> |
selectMulti(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title,
PathIOMode ioMode,
PathType pathMode)
Generic open method for multiple paths.
|
static Path |
selectSingle(Component parent,
JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
String title,
PathIOMode ioMode,
PathType pathMode,
FileNameExtensionFilter... extensionFilters)
Generic open/save method for single paths
|
void |
setAddFileExtension(boolean addFileExtension) |
void |
setBookmarks(FileChooserBookmarkList bookmarks) |
void |
setFileChooserType(JIPipeFileChooserApplicationSettings.FileChooserType fileChooserType) |
void |
setLastDataDirectory(Path lastDataDirectory) |
void |
setLastDirectoryBy(JIPipeFileChooserApplicationSettings.LastDirectoryKey key,
Path lastDirectory)
Sets the last directory according to the key
|
void |
setLastExternalDirectory(Path lastExternalDirectory) |
void |
setLastParametersDirectory(Path lastParametersDirectory) |
void |
setLastProjectsDirectory(Path lastProjectsDirectory) |