org.openscience.jmol.app
class RecentFilesDialog extends JDialog implements ActionListener, WindowListener
| Field Summary | |
|---|---|
| JButton | cancelButton |
| JList | fileList |
| String[] | files |
| static int | MAX_FILES |
| JButton | okButton |
| Properties | props |
| String | selectedFileName |
| Constructor Summary | |
|---|---|
| RecentFilesDialog(Frame boss) Creates a hidden recent files dialog | |
| Method Summary | |
|---|---|
| void | actionPerformed(ActionEvent e) |
| void | addFile(String name)
Adds this file to the history. |
| void | cancel() |
| void | close() |
| String | getFile() |
| void | getFiles() |
| void | notifyFileOpen(String fullPathName) |
| void | saveList() Saves the list to the history file. |
| void | windowActivated(WindowEvent e) |
| void | windowClosed(WindowEvent e) |
| void | windowClosing(WindowEvent e) |
| void | windowDeactivated(WindowEvent e) |
| void | windowDeiconified(WindowEvent e) |
| void | windowIconified(WindowEvent e) |
| void | windowOpened(WindowEvent e) |
Parameters: boss
Parameters: name Name of the file
Returns: String The name of the file picked or null if the action was aborted.