Class FileChoosers
- java.lang.Object
-
- net.anwiba.commons.swing.filechooser.FileChoosers
-
public class FileChoosers extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_PREFERENCE_NODEstatic java.lang.StringFILECHOOSER_PREFERENCES_PATHstatic java.lang.StringFOLDER
-
Constructor Summary
Constructors Constructor Description FileChoosers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.JFileChoosercreateOpenFileChooser(IPreferences preferences, IOpenFileChooserConfiguration configuration)static javax.swing.JFileChoosercreateSaveFileChooser(IPreferences preferences, ISaveFileChooserConfiguration configuration)static IFileChooserResultshow(java.awt.Component owner, IPreferences preferences, IOpenFileChooserConfiguration configuration)static IFileChooserResultshow(java.awt.Component owner, IPreferences preferences, ISaveFileChooserConfiguration configuration)static IFileChooserResultshow(java.awt.Component owner, IOpenFileChooserConfiguration configuration)static IFileChooserResultshow(java.awt.Component owner, ISaveFileChooserConfiguration configuration)
-
-
-
Field Detail
-
FOLDER
public static final java.lang.String FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_PREFERENCE_NODE
public static final java.lang.String DEFAULT_PREFERENCE_NODE
- See Also:
- Constant Field Values
-
FILECHOOSER_PREFERENCES_PATH
public static final java.lang.String FILECHOOSER_PREFERENCES_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
show
public static IFileChooserResult show(java.awt.Component owner, IOpenFileChooserConfiguration configuration)
-
show
public static IFileChooserResult show(java.awt.Component owner, IPreferences preferences, IOpenFileChooserConfiguration configuration)
-
createSaveFileChooser
public static javax.swing.JFileChooser createSaveFileChooser(IPreferences preferences, ISaveFileChooserConfiguration configuration)
-
createOpenFileChooser
public static javax.swing.JFileChooser createOpenFileChooser(IPreferences preferences, IOpenFileChooserConfiguration configuration)
-
show
public static IFileChooserResult show(java.awt.Component owner, ISaveFileChooserConfiguration configuration)
-
show
public static IFileChooserResult show(java.awt.Component owner, IPreferences preferences, ISaveFileChooserConfiguration configuration)
-
-