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.crosswire.common.config.swing
Class ConfigEditorFactory

    java.lang.Object
      org.crosswire.common.config.swing.ConfigEditorFactory

    public final class ConfigEditorFactory

extends Object

Allow a swing program to display a Dialog box displaying a set of config options.

Author:
  Joe Walker [joe at eireneh dot com]
See Also:
  `for license details. The copyright to this program is held by it's authors.`

Nested Class Summary
`(package private) static class` | `ConfigEditorFactory.URLActionListener` A quick class to save a config to a url

Constructor Summary
`private` | `ConfigEditorFactory()` Prevent Instansiation

Method Summary
`static void` | `showDialog(Config config, Component parent, ActionListener al)` Create a dialog to house a TreeConfig component using the default set of Fields
`static void` | `showDialog(Config config, Component parent, URL url)` Create a dialog to house a TreeConfig component using the default set of Fields, with the default accept action of config.localToAppliation and config,localToPermanentURL

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

Constructor Detail

### ConfigEditorFactory

    private ConfigEditorFactory()

  Prevent Instansiation

Method Detail

### showDialog

    public static void showDialog(Config config,
                                  Component parent,
                                  ActionListener al)

  Create a dialog to house a TreeConfig component using the default set of Fields

  Parameters:
    `config` - The set of Choices to display
    `parent` - A component to use to find a frame to use as a dialog parent
    `al` - The action when the user clicks on ok or apply

### showDialog

    public static void showDialog(Config config,
                                  Component parent,
                                  URL url)

  Create a dialog to house a TreeConfig component using the default set of Fields, with the default accept action of config.localToAppliation and config,localToPermanentURL

  Parameters:
    `config` - The set of Choices to display
    `parent` - A component to use to find a frame to use as a dialog parent

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