jigcell.compare
Interface IConfigEditor

All Known Implementing Classes:
ConfigEditor

public interface IConfigEditor

A component that supports the editing of configuration options.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen

Method Summary
 void addOption(java.lang.String name, java.lang.String description, java.lang.Class type)
          Adds a new option to edit.
 void addOption(java.lang.String name, java.lang.String description, java.lang.Object[] choices, boolean editable, java.lang.Class type)
          Adds a new option to edit.
 javax.swing.JDialog createConfigDialog()
          Creates a dialog based configuration editor.
 

Method Detail

addOption

void addOption(java.lang.String name,
               java.lang.String description,
               java.lang.Class type)
Adds a new option to edit.

Parameters:
name - Name of the option
description - Text description of the option
type - Type of option

addOption

void addOption(java.lang.String name,
               java.lang.String description,
               java.lang.Object[] choices,
               boolean editable,
               java.lang.Class type)
Adds a new option to edit.

Parameters:
name - Name of the option
description - Text description of the option
choices - Option choices
editable - Whether the option choices are editable
type - Type of option

createConfigDialog

javax.swing.JDialog createConfigDialog()
Creates a dialog based configuration editor. It is required that successive calls to this function return the same editor unless the previous editor has been made undisplayable.