public final class BaseXFileChooser
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseXFileChooser.Mode
File dialog mode.
|
| Constructor and Description |
|---|
BaseXFileChooser(java.lang.String title,
java.lang.String path,
GUI main)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(java.lang.String dsc,
java.lang.String... suf)
Sets a file filter.
|
IOFile |
select(BaseXFileChooser.Mode mode)
Selects a file or directory.
|
public BaseXFileChooser(java.lang.String title,
java.lang.String path,
GUI main)
title - dialog titlepath - initial pathmain - reference to main windowpublic void addFilter(java.lang.String dsc,
java.lang.String... suf)
dsc - descriptionsuf - suffixpublic IOFile select(BaseXFileChooser.Mode mode)
mode - type defined by BaseXFileChooser.Mode