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

DefaultTableSelectionModel spec is incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.0
    • docs
    • generic
    • generic

      java.awt.swing.table.DefaultTableSelectionModel spec needs to be updated:
      1. descriptions of
      getColumn(int)
      setColumnMargin(int)
         say nothing about these methods' behavior in case when
         the integer parameter is out of bounds.
      2. A lot of important methods have no description at all:
      addColumnListener()
      removeColumnListener()
      createSelectionModel()
      getColumnSelectionAllowed()
      getSelectedColumnCount()
      getSelectedColumns()
      getTotalColumnWidth()
      setColumnsSelectionAllowed()
      3. Methods getColumnMargin() and getSelectionModel have
         confusing descriptions.

            sharonz Sharon Zakhour (Inactive)
            vsizikov Vladimir Sizikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: