Package | Description |
---|---|
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.gui.preferences |
Provides generic classes for handling JOSM preferences.
|
org.openstreetmap.josm.gui.widgets |
Provides GUI widgets customized for JOSM needs.
|
Modifier and Type | Method and Description |
---|---|
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
java.lang.String title)
Creates a new
AbstractFileChooser and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
java.lang.String title,
java.util.Collection<? extends javax.swing.filechooser.FileFilter> filters,
javax.swing.filechooser.FileFilter defaultFilter,
int selectionMode,
java.lang.String lastDirProperty)
Creates a new
AbstractFileChooser for several FileFilter s and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
java.lang.String title,
javax.swing.filechooser.FileFilter filter,
int selectionMode,
java.lang.String lastDirProperty)
Creates a new
AbstractFileChooser for a single FileFilter and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
java.lang.String title,
java.lang.String extension)
Creates a new
AbstractFileChooser and makes it visible. |
static AbstractFileChooser |
DiskAccessAction.createAndOpenFileChooser(boolean open,
boolean multiple,
java.lang.String title,
java.lang.String extension,
int selectionMode,
boolean allTypes,
java.lang.String lastDirProperty)
Creates a new
AbstractFileChooser and makes it visible. |
Modifier and Type | Method and Description |
---|---|
static void |
ExtensionFileFilter.applyChoosableExportFileFilters(AbstractFileChooser fileChooser,
java.lang.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,
java.lang.String extension,
boolean allTypes)
Applies the choosable
FileFilter to a AbstractFileChooser before using the
file chooser for selecting a file for reading. |
private static java.io.File |
SaveActionBase.checkFileAndConfirmOverWrite(AbstractFileChooser fc,
java.lang.String extension) |
Modifier and Type | Method and Description |
---|---|
private static void |
SourceEditor.prepareFileChooser(java.lang.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(java.awt.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. |