com.ibm.dse.tools.workbench.gui
Interface CellEditorDelegate

All Known Implementing Classes:
TextAndButtonEditor, AllowedValuesValueCellEditor.ColorEditor, AllowedValuesValueCellEditor.ComboBoxEditor, AllowedValuesValueCellEditor.StringComboBoxEditor, AllowedValuesValueCellEditor.TextFieldEditor

public interface CellEditorDelegate

This interface provides a few methods to comunicate with an CellEditor between a bridge called delegate.


Method Summary
 javax.swing.JComponent getJComponent()
          This method returns the JComponent that edits the object.
 java.lang.Object getValue()
          This method returns the current value of the editor.
 void setValue(java.lang.Object value)
          This method sets the current value to edit in the editor.
 

Method Detail

getJComponent

public javax.swing.JComponent getJComponent()
This method returns the JComponent that edits the object.
Returns:
javax.swing.JComponent

getValue

public java.lang.Object getValue()
This method returns the current value of the editor.
Returns:
java.lang.Object

setValue

public void setValue(java.lang.Object value)
This method sets the current value to edit in the editor.
Parameters:
value - java.lang.Object