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

StyleablePropertyFactory: example in class javadoc does not compile

    XMLWordPrintable

    Details

      Description


      it's the 3. example, offending line:

      private final StyleableProperty<Boolean> selected =
               new SimpleStyleableBooleanProperty(this, "selected", "my-selected");

      error: the constructor (...) is undefined

      The first parameter needs to be of type CssMetaData.

      javadoc:
      https://openjfx.io/javadoc/11/javafx.graphics/javafx/css/StyleablePropertyFactory.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fastegal Jeanette Winzenburg
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: