|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.gui.layout.BaseXFileChooser
public final class BaseXFileChooser
Project specific File Chooser implementation.
| Nested Class Summary | |
|---|---|
static class |
BaseXFileChooser.Mode
File Dialog Mode. |
| Constructor Summary | |
|---|---|
BaseXFileChooser(java.lang.String title,
java.lang.String path,
javax.swing.JFrame par)
Default Constructor. |
|
| Method Summary | |
|---|---|
void |
addFilter(java.lang.String suf,
java.lang.String dsc)
Sets a file filter. |
java.lang.String |
getDir()
Returns the selected directory. |
IO |
getFile()
Returns the selected file. |
boolean |
select(BaseXFileChooser.Mode type)
Selects a file or directory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseXFileChooser(java.lang.String title,
java.lang.String path,
javax.swing.JFrame par)
title - dialog titlepath - initial pathpar - parent reference| Method Detail |
|---|
public void addFilter(java.lang.String suf,
java.lang.String dsc)
suf - suffixdsc - descriptionpublic boolean select(BaseXFileChooser.Mode type)
type - type defined by BaseXFileChooser.Mode
public IO getFile()
public java.lang.String getDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||