RFR: 8216507: StyleablePropertyFactory: example in class javadoc does not compile [v2]
Andy Goryachev
angorya at openjdk.org
Fri Dec 23 17:05:41 UTC 2022
On Fri, 23 Dec 2022 16:59:27 GMT, Karthik P K <kpk at openjdk.org> wrote:
>> modules/javafx.graphics/src/main/java/javafx/css/StyleablePropertyFactory.java line 146:
>>
>>> 144: // StyleableProperty implementation reduced to one line
>>> 145: private final {@literal StyleableProperty<Boolean>} selected =
>>> 146: new SimpleStyleableBooleanProperty(SELECTED, "selected", "my-selected");
>>
>> as an exercise, could you actually put MyButton into a scene graph and style it with CSS?
>
> I will check this and update here
Do you think it's worth doing this as a unit test?
-------------
PR: https://git.openjdk.org/jfx/pull/983
More information about the openjfx-dev
mailing list