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

Problems creating scene graph with Builders

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P3
    • fx2.1
    • fx2.0
    • javafx
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: