|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileChooser
A JFileChooser wrapper that remembers the last location the user opened a file from. The next time open or save is called the filechooser will start in the same directory. Keeps a list of last opened/saved files. This list can be used to for example build a quick-open menu.
| Method Summary | |
|---|---|
File |
openFile()
Pops up the FileChooser in open mode. |
File |
saveFile()
Pops up the FileChooser in save mode. |
void |
setMenu(StringMenu<File> menu)
The filechooser will update this menu when a file is selected. |
| Method Detail |
|---|
void setMenu(StringMenu<File> menu)
menu - The menu to update. May be null.StringMenuItemFile openFile()
File saveFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||