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

Evaluate return type of TableColumnHeader::TableViewSkinBase

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P3
    • Resolution: Delivered
    • Affects Version/s: openjfx12
    • Fix Version/s: openjfx12
    • Component/s: javafx
    • Labels:
      None

      Description

      In the CSR review of JDK-8207942, the question was raised as to whether the following method in TableColumnHeader can be returned with more precise typing information.

         TableViewSkinBase<?, ?, ?, ?, ?>

      One suggestion was to make the method in question a generic methods with its own type variables:

      <M, S, C, I, TC> TableViewSkinBase<M,​S,​C extends Control,​I extends IndexedCell<M>,​TC extends TableColumnBase<S,​?>> getTableSkin()

      This didn't work when I tried it, but might form the basis for a possible solution.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: