|
|||||||||
| 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.
| Field Summary | |
|---|---|
static int |
DIR
Directory chooser. |
static int |
OPEN
Open dialog. |
static int |
SAVE
Save dialog. |
| Constructor Summary | |
|---|---|
BaseXFileChooser(java.lang.String title,
java.lang.String path,
javax.swing.JFrame par)
Default Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDir()
Returns the selected directory. |
java.lang.String |
getFile()
Returns the selected file. |
boolean |
select(int type)
Selects a file or directory. |
void |
setFilter(java.lang.String suf,
java.lang.String dsc)
Sets a file filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DIR
public static final int OPEN
public static final int SAVE
| 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 java.lang.String getDir()
public java.lang.String getFile()
public boolean select(int type)
type - type (OPEN, SAVE or DIR)
public void setFilter(java.lang.String suf,
java.lang.String dsc)
suf - suffixdsc - description
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||