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

StyleablePropertyFactory: example in class javadoc does not compile

XMLWordPrintable

    • b14


      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

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

              Created:
              Updated:
              Resolved: