

Public Member Functions | |
| LogsFileChooser (String title, File currentDir, boolean load) | |
| File | getSelectedFile () |
| File | getCurrentDirectory () |
| void | actionPerformed (ActionEvent e) |
Protected Attributes | |
| JFileChooser | fileChooser |
Private Attributes | |
| File | selectedFile = null |
Base class for the file chooser dialogs to load and save logs
| alma::acs::logging::io::LogsFileChooser::LogsFileChooser | ( | String | title, | |
| File | currentDir, | |||
| boolean | load | |||
| ) | [inline] |
Constructor
| title | The tile of the dialog | |
| currentDir | The dir whose content is shown at startup | |
| load | true if the file chooser is used to load, false otherwise |
References fileChooser.
| void alma::acs::logging::io::LogsFileChooser::actionPerformed | ( | ActionEvent | e | ) | [inline] |
Reimplemented in alma::acs::logging::io::LoadFileChooser, and alma::acs::logging::io::SaveFileChooser.
References fileChooser, and selectedFile.
| File alma::acs::logging::io::LogsFileChooser::getCurrentDirectory | ( | ) | [inline] |
References fileChooser.
Referenced by alma::acs::logging::table::LogTableDataModel::loadFromFile(), and alma::acs::logging::table::LogTableDataModel::saveFile().
| File alma::acs::logging::io::LogsFileChooser::getSelectedFile | ( | ) | [inline] |
Return the file selected by the user.
null if the user cancelled References selectedFile.
Referenced by alma::acs::logging::table::LogTableDataModel::loadFromFile(), and alma::acs::logging::table::LogTableDataModel::saveFile().
JFileChooser alma::acs::logging::io::LogsFileChooser::fileChooser [protected] |
The file chooser
Referenced by actionPerformed(), alma::acs::logging::io::LoadFileChooser::actionPerformed(), getCurrentDirectory(), alma::acs::logging::io::SaveFileChooser::initialize(), alma::acs::logging::io::LoadFileChooser::initialize(), alma::acs::logging::io::LoadFileChooser::LoadFileChooser(), and LogsFileChooser().
File alma::acs::logging::io::LogsFileChooser::selectedFile = null [private] |
The file selected by the user
Referenced by actionPerformed(), and getSelectedFile().
1.6.2