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

Add default method getStyleableNode to Styleable interface

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
      None

      Description

      See attached patch for suggested change, but at a high-level there currently exists impl_styleableGetNode() on four classes:

       * MenuItem
       * PopupControl
       * TableColumn
       * TreeTableColumn

      The basic use case is that in these cases these classes are not Nodes, and therefore can not be used directly in places such as Scene Builder. Scene Builder therefore needs to query for the actual root styleable node.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jgiles Jonathan Giles
              Reporter:
              jgiles Jonathan Giles
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: