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

Table skin classes: can't extend due to abstract package private methods

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • javafx
    • seen in jdk9eab99

    Description

      On the move into public, its abstract methods columnVisibility/Width/Property
      changed scope from protected to package - this makes the base class rather useless
      for extension: it's main job is sync'ing the cell's visible property to the
      column's visible property and triggering and doing the cell's layout.
      Both are possible only, if subclasses provide the column properties.

      Actually, we can't even extend the class - compiler error:

      "This class must implement the inherited abstract method TableCellSkinBase<TableCell<S,T>>.columnWidthProperty(), but cannot override it since it is not
      visible from XTableCellSkin. Either make the type abstract or make the inherited method visible"

      Attachments

        Issue Links

          Activity

            People

              jgiles Jonathan Giles
              fastegal Jeanette Winzenburg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: