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

StyleablePropertyFactory: example in class javadoc does not compile

    XMLWordPrintable

Details

    • b14

    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

              kpk Karthik P K
              fastegal Jeanette Winzenburg
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: