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

TableView rowFactory does not allow TableRow subclasses (same for ListView and TreeView)

XMLWordPrintable

      The TreeTableView proof of concept I developed required a change to TableView.rowFactory. Rather than the following signature:
      private ObjectProperty<Callback<TableView<S>, TableRow<S>>> rowFactory;

      It should be the following:
      private ObjectProperty<Callback<TableView<S>, ? extends TableRow<S>>> rowFactory;

      Of course, if this change is made, it should be made to ListView and TreeView in the same way.

            jgiles Jonathan Giles
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: