Uses of Class
org.openstreetmap.josm.gui.widgets.AbstractFileChooser
-
Packages that use AbstractFileChooser Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user 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. -
-
Uses of AbstractFileChooser in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions that return AbstractFileChooser Modifier and Type Method Description static AbstractFileChooser
DiskAccessAction. createAndOpenFileChooser(boolean open, boolean multiple, java.lang.String title)
Creates a newAbstractFileChooser
and makes it visible.static AbstractFileChooser
DiskAccessAction. createAndOpenFileChooser(boolean open, boolean multiple, java.lang.String title, java.lang.String extension)
Creates a newAbstractFileChooser
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 newAbstractFileChooser
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 newAbstractFileChooser
for severalFileFilter
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 newAbstractFileChooser
for a singleFileFilter
and makes it visible.Methods in org.openstreetmap.josm.actions with parameters of type AbstractFileChooser Modifier and Type Method Description static void
ExtensionFileFilter. applyChoosableExportFileFilters(AbstractFileChooser fileChooser, java.lang.String extension, java.util.function.Predicate<ExtensionFileFilter> additionalTypes)
Applies the choosableFileFilter
to aAbstractFileChooser
before using the file chooser for selecting a file for writing.static void
ExtensionFileFilter. applyChoosableImportFileFilters(AbstractFileChooser fileChooser, java.lang.String extension, java.util.function.Predicate<ExtensionFileFilter> additionalTypes)
Applies the choosableFileFilter
to aAbstractFileChooser
before using the file chooser for selecting a file for reading.static java.io.File
SaveActionBase. checkFileAndConfirmOverWrite(AbstractFileChooser fc, java.lang.String extension)
Checks if selected filename has the given extension. -
Uses of AbstractFileChooser in org.openstreetmap.josm.gui.preferences
Methods in org.openstreetmap.josm.gui.preferences with parameters of type AbstractFileChooser Modifier and Type Method Description private static void
SourceEditor. prepareFileChooser(java.lang.String url, AbstractFileChooser fc)
-
Uses of AbstractFileChooser in org.openstreetmap.josm.gui.widgets
Subclasses of AbstractFileChooser in org.openstreetmap.josm.gui.widgets Modifier and Type Class Description class
NativeFileChooser
File chooser based on the AWT'sFileDialog
implementation, which looks like more a native file chooser than the Swing implementation.class
SwingFileChooser
File chooser based on the Swing'sJFileChooser
implementation.Fields in org.openstreetmap.josm.gui.widgets declared as AbstractFileChooser Modifier and Type Field Description private AbstractFileChooser
FileChooserManager. fc
Methods in org.openstreetmap.josm.gui.widgets that return AbstractFileChooser Modifier and Type Method Description AbstractFileChooser
FileChooserManager. getFileChooser()
Replies theAbstractFileChooser
that has been previously created.AbstractFileChooser
FileChooserManager. openFileChooser()
Opens theAbstractFileChooser
that has been created.AbstractFileChooser
FileChooserManager. openFileChooser(java.awt.Component parent)
Opens theAbstractFileChooser
that has been created and waits for the user to choose a file/directory, or cancel the dialog.
When the user chooses a file or directory, thelastDirProperty
is updated to the chosen directory path.
-