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 AbstractFileChooserDiskAccessAction. createAndOpenFileChooser(boolean open, boolean multiple, java.lang.String title)Creates a newAbstractFileChooserand makes it visible.static AbstractFileChooserDiskAccessAction. createAndOpenFileChooser(boolean open, boolean multiple, java.lang.String title, java.lang.String extension)Creates a newAbstractFileChooserand makes it visible.static AbstractFileChooserDiskAccessAction. createAndOpenFileChooser(boolean open, boolean multiple, java.lang.String title, java.lang.String extension, int selectionMode, boolean allTypes, java.lang.String lastDirProperty)Creates a newAbstractFileChooserand makes it visible.static AbstractFileChooserDiskAccessAction. 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 newAbstractFileChooserfor severalFileFilters and makes it visible.static AbstractFileChooserDiskAccessAction. createAndOpenFileChooser(boolean open, boolean multiple, java.lang.String title, javax.swing.filechooser.FileFilter filter, int selectionMode, java.lang.String lastDirProperty)Creates a newAbstractFileChooserfor a singleFileFilterand makes it visible.Methods in org.openstreetmap.josm.actions with parameters of type AbstractFileChooser Modifier and Type Method Description static voidExtensionFileFilter. applyChoosableExportFileFilters(AbstractFileChooser fileChooser, java.lang.String extension, java.util.function.Predicate<ExtensionFileFilter> additionalTypes)Applies the choosableFileFilterto aAbstractFileChooserbefore using the file chooser for selecting a file for writing.static voidExtensionFileFilter. applyChoosableImportFileFilters(AbstractFileChooser fileChooser, java.lang.String extension, java.util.function.Predicate<ExtensionFileFilter> additionalTypes)Applies the choosableFileFilterto aAbstractFileChooserbefore using the file chooser for selecting a file for reading.static java.io.FileSaveActionBase. 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 voidSourceEditor. 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 classNativeFileChooserFile chooser based on the AWT'sFileDialogimplementation, which looks like more a native file chooser than the Swing implementation.classSwingFileChooserFile chooser based on the Swing'sJFileChooserimplementation.Fields in org.openstreetmap.josm.gui.widgets declared as AbstractFileChooser Modifier and Type Field Description private AbstractFileChooserFileChooserManager. fcMethods in org.openstreetmap.josm.gui.widgets that return AbstractFileChooser Modifier and Type Method Description AbstractFileChooserFileChooserManager. getFileChooser()Replies theAbstractFileChooserthat has been previously created.AbstractFileChooserFileChooserManager. openFileChooser()Opens theAbstractFileChooserthat has been created.AbstractFileChooserFileChooserManager. openFileChooser(java.awt.Component parent)Opens theAbstractFileChooserthat 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, thelastDirPropertyis updated to the chosen directory path.
-