public static final class ChooseURL.URLChooserImpl extends Object implements ChooseURL.URLChooser
ChooseURL.URLChooser
: uses the standard
JFileChooser.Constructor and Description |
---|
URLChooserImpl() |
Modifier and Type | Method and Description |
---|---|
URL |
chooseOpenDirectoryURL(Component parentComponent,
URL template,
ChooseFileOptions options)
Displays URL chooser dialog box configured to let the user select an
existing directory.
|
URL |
chooseOpenFileURL(Component parentComponent,
URL template,
ChooseFileOptions options)
Displays URL chooser dialog box configured to let the user select an
existing file.
|
URL |
chooseSaveDirectoryURL(Component parentComponent,
URL template,
ChooseFileOptions options)
Displays URL chooser dialog box configured to let the user select a
directory, existing or not.
|
URL |
chooseSaveFileURL(Component parentComponent,
URL template,
ChooseFileOptions options)
Displays URL chooser dialog box configured to let the user select a
file, existing or not.
|
public URL chooseOpenFileURL(Component parentComponent, URL template, ChooseFileOptions options)
ChooseURL.URLChooser
chooseOpenFileURL
in interface ChooseURL.URLChooser
parentComponent
- used to find a parent for the displayed
dialog boxtemplate
- used as a template for URL to be selected.
Only used to specify initial directory.
May be null
.options
- dialog box options. May be null
.null
if user has canceled the
selection.public URL chooseSaveFileURL(Component parentComponent, URL template, ChooseFileOptions options)
ChooseURL.URLChooser
chooseSaveFileURL
in interface ChooseURL.URLChooser
parentComponent
- used to find a parent for the displayed
dialog boxtemplate
- used as a template for URL to be selected.
Used to specify both initial directory and suggested selection.
May be null
.options
- dialog box options. May be null
.null
if user has canceled the
selection.public URL chooseOpenDirectoryURL(Component parentComponent, URL template, ChooseFileOptions options)
ChooseURL.URLChooser
chooseOpenDirectoryURL
in interface ChooseURL.URLChooser
parentComponent
- used to find a parent for the displayed
dialog boxtemplate
- used as a template for URL to be selected.
Only used to specify initial directory.
May be null
.options
- dialog box options. May be null
.null
if user has canceled the
selection.public URL chooseSaveDirectoryURL(Component parentComponent, URL template, ChooseFileOptions options)
ChooseURL.URLChooser
chooseSaveDirectoryURL
in interface ChooseURL.URLChooser
parentComponent
- used to find a parent for the displayed
dialog boxtemplate
- used as a template for URL to be selected.
Used to specify both initial directory and suggested selection.
May be null
.options
- dialog box options. May be null
.null
if user has canceled the
selection.