public interface GralFileDialog_ifc
Modifier and Type | Field and Description |
---|---|
static int |
directory
Creates a dialog to select directories, not files.
|
static int |
multi
Assume selecting of more as one files or directories.
|
static int |
version
Version, history and license.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getMultiSelection() |
java.lang.String |
getSelection()
Returns the last selected local path and file.
|
boolean |
open(java.lang.String sTitle,
int mode) |
java.lang.String |
show(java.lang.String sBaseDir,
java.lang.String sLocalDir,
java.lang.String sMask,
java.lang.String sTitle)
Shows the file dialog.
|
static final int version
static final int directory
static final int multi
boolean open(java.lang.String sTitle, int mode)
java.lang.String show(java.lang.String sBaseDir, java.lang.String sLocalDir, java.lang.String sMask, java.lang.String sTitle)
sBaseDir
- Part of start path, which should not be leave in selection. May be nullsLocalDir
- Part of start path which is shown as default. May be null.
If both sBaseDir and sLocalDir are null, the dialog may start with the last saved base dir.sMask
- If not null, then mask for file selection. If null, all files will be shown.sTitle
- The title in the dialog's title. If null, then the title is unchanged.java.lang.String[] getMultiSelection()
java.lang.String getSelection()