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

Evaluate return type of TableColumnHeader::TableViewSkinBase

    XMLWordPrintable

Details

    • Task
    • Resolution: Delivered
    • P3
    • jfx12
    • jfx12
    • javafx
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: