Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.gui.layout
Class BaseXFileChooser

    java.lang.Object
      org.basex.gui.layout.BaseXFileChooser

    public final class BaseXFileChooser

extends Object

Project specific File Chooser implementation.

Author:
  Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Nested Class Summary
`static class` | `BaseXFileChooser.Mode` File Dialog Mode.

Constructor Summary
`BaseXFileChooser(String title, String path, GUI main)` Default constructor.

Method Summary
`void` | `addFilter(String dsc, String suf)` Sets a file filter.
`IO` | `select(BaseXFileChooser.Mode mode)` Selects a file or directory.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BaseXFileChooser

    public BaseXFileChooser(String title,
                            String path,
                            GUI main)

  Default constructor.

  Parameters:
    `title` - dialog title
    `path` - initial path
    `main` - reference to main window

Method Detail

### addFilter

    public void addFilter(String dsc,
                          String suf)

  Sets a file filter.

  Parameters:
    `dsc` - description
    `suf` - suffixes

### select

    public IO select(BaseXFileChooser.Mode mode)

  Selects a file or directory.

  Parameters:
    `mode` - type defined by `BaseXFileChooser.Mode`
  Returns:
    resulting input reference

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD