public final class ConfigEditorFactory extends Object
The GNU General Public License for details.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ConfigEditorFactory.URIActionListener
A quick class to save a config to a uri
|
Modifier | Constructor and Description |
---|---|
private |
ConfigEditorFactory()
Prevent instantiation
|
Modifier and Type | Method and Description |
---|---|
static void |
showDialog(org.crosswire.common.config.Config config,
Component parent,
ActionListener al)
Create a dialog to house a TreeConfig component using the default set of
Fields
|
static void |
showDialog(org.crosswire.common.config.Config config,
Component parent,
URI uri)
Create a dialog to house a TreeConfig component using the default set of
Fields, with the default accept action of config.localToApplication and
config,localToPermanent
|
public static void showDialog(org.crosswire.common.config.Config config, Component parent, ActionListener al)
config
- The set of Choices to displayparent
- A component to use to find a frame to use as a dialog parental
- The action when the user clicks on ok or applypublic static void showDialog(org.crosswire.common.config.Config config, Component parent, URI uri)
config
- The set of Choices to displayparent
- A component to use to find a frame to use as a dialog parent