chemaxon.alchemist.configbuilder
Interface ConfigElementEditor


public interface ConfigElementEditor

This interface defines the method any object that would like to be an editor of any ConfigElement needs to implement.

Version:
5.4.2
Author:
Istvan Rabel, Attila Szabo

Method Summary
 java.awt.Component getEditorComponent(ConfigElement value)
          Sets an initial value for the editor.
 ConfigElement getEditorValue()
          Returns the ConfigElement contained in the editor
 

Method Detail

getEditorValue

ConfigElement getEditorValue()
Returns the ConfigElement contained in the editor

Returns:
the ConfigElement contained in the editor

getEditorComponent

java.awt.Component getEditorComponent(ConfigElement value)
Sets an initial value for the editor. Returns the component that should be added to the client's Component hierarchy. Once installed in the client's hierarchy this component will then be able to draw and receive user input.

Parameters:
value - is the initial value being set
Returns:
the component for editing