Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279421

some problems in CellEditor related API docs

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 19
    • client-libs
    • None
    • minimal
    • Minimal - documentation update only - no code changes
    • Java API
    • SE

      Summary

      Update the javadoc for javax.swing.table.TableCellEditor to better explain its usage.

      Problem

      The interface description of TableCellEditor in Java Documentation says "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." This description doesn't give enough clarity about the interface since the Interface cannot be used for JListBox, JComboBox and JTree.

      Solution

      The Interface Description is updated such that it gives clear understanding of the TableCellEditor Interface.

      Specification

      javax.swing.table.TableCellEditor :

      /**
       - * This interface defines the method any object that would like to be
       - * an editor of values for components such as <code>JListBox</code>,
       - * <code>JComboBox</code>, <code>JTree</code>, or <code>JTable</code>
       - * needs to implement.
       + * This interface must be implemented to provide an editor of cell values
       + * for a {@code JTable}.

            tr Tejesh R
            ogino Shinya Ogino (Inactive)
            Alexander Zuev, Alexey Ivanov, Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: