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

Problems creating scene graph with Builders

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      all

      Description

      NodeBuilder does not allow adding a style class. It only allows setting a style class but that is mostly
      not what you want. What you need is the equivalent of node.getStyleClass().add("my-label").

      ------------------------------

      The various Builders don't implement the convenience methods of a class. This makes it impossible
      to reasonably use the Builders to build a scene graph. For example try to build a scene graph
      with a GridPane without being able to use the add(Node child, int columnIndex, int rowIndex)
      and similar methods. You will not get very far without them.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rbair Richard Bair (Inactive)
              Reporter:
              dpausjfx Dr. Michael Paus (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: