Home » openjdk-7 » javax » swing » table » [javadoc | source]
javax.swing.table
public interface: TableCellEditor [javadoc | source]

All Implemented Interfaces:
    CellEditor

All Known Implementing Classes:
    NumberEditor, BooleanEditor, GenericEditor, JComponentCellEditor, DefaultCellEditor

This interface defines the method any object that would like to be an editor of values for components such as JListBox, JComboBox, JTree, or JTable needs to implement.
Method from javax.swing.table.TableCellEditor Summary:
getTableCellEditorComponent
Method from javax.swing.table.TableCellEditor Detail:
 public Component getTableCellEditorComponent(JTable table,
    Object value,
    boolean isSelected,
    int row,
    int column)
    Sets an initial value for the editor. This will cause the editor to stopEditing and lose any partially edited value if the editor is editing when this method is called.

    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.