public class FileSelectorView
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
DESCRIPTION_FILE_EXTENSION
Textual description for the file extension filter
|
private static java.lang.String |
FILE_EXTENSION
File extension showed in the FileSelector
|
private javafx.stage.FileChooser |
fileChooser
Little file chooser window
|
private javafx.stage.Stage |
stage |
private static java.lang.String |
USER_HOME
Default folder
|
Constructor and Description |
---|
FileSelectorView()
Creates a little file chooser window only showing csv files
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getSelectedFileToOpen()
Gets the selected file from the file chooser, which we'll open
|
java.io.File |
getSelectedFileToSave()
Gets the selected file from the file chooser, in which we will save data
|
private static final java.lang.String USER_HOME
private static final java.lang.String DESCRIPTION_FILE_EXTENSION
private static final java.lang.String FILE_EXTENSION
private javafx.stage.FileChooser fileChooser
private javafx.stage.Stage stage