Package | Description |
---|---|
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.gui.preferences |
Provides generic classes for handling JOSM preferences.
|
org.openstreetmap.josm.gui.widgets |
Modifier and Type | Method and Description |
---|---|
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
String title)
Creates a new
AbstractFileChooser and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
String title,
Collection<? extends FileFilter> filters,
FileFilter defaultFilter,
int selectionMode,
String lastDirProperty)
Creates a new
AbstractFileChooser for several FileFilter s and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
String title,
FileFilter filter,
int selectionMode,
String lastDirProperty)
Creates a new
AbstractFileChooser for a single FileFilter and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
String title,
String extension)
Creates a new
AbstractFileChooser and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
String title,
String extension,
int selectionMode,
boolean allTypes,
String lastDirProperty)
Creates a new
AbstractFileChooser and makes it visible. |
Modifier and Type | Method and Description |
---|---|
static void |
ExtensionFileFilter.applyChoosableExportFileFilters(AbstractFileChooser fileChooser,
String extension,
boolean allTypes)
Applies the choosable
FileFilter to a AbstractFileChooser before using the
file chooser for selecting a file for writing. |
static void |
ExtensionFileFilter.applyChoosableImportFileFilters(AbstractFileChooser fileChooser,
String extension,
boolean allTypes)
Applies the choosable
FileFilter to a AbstractFileChooser before using the
file chooser for selecting a file for reading. |
private static File |
SaveActionBase.checkFileAndConfirmOverWrite(AbstractFileChooser fc,
String extension) |
Modifier and Type | Method and Description |
---|---|
private static void |
SourceEditor.prepareFileChooser(String url,
AbstractFileChooser fc) |
Modifier and Type | Class and Description |
---|---|
class |
NativeFileChooser
File chooser based on the AWT's
FileDialog implementation,
which looks like more a native file chooser than the Swing implementation. |
class |
SwingFileChooser
File chooser based on the Swing's
JFileChooser implementation. |
Modifier and Type | Field and Description |
---|---|
private AbstractFileChooser |
FileChooserManager.fc |
Modifier and Type | Method and Description |
---|---|
AbstractFileChooser |
FileChooserManager.getFileChooser()
Replies the
AbstractFileChooser that has been previously created. |
AbstractFileChooser |
FileChooserManager.openFileChooser()
Opens the
AbstractFileChooser that has been created. |
AbstractFileChooser |
FileChooserManager.openFileChooser(Component parent)
Opens the
AbstractFileChooser that has been created and waits for the user to choose a file/directory, or cancel the dialog.Nothing happens if the dialog has not been created yet. When the user choses a file or directory, the lastDirProperty is updated to the chosen directory path. |