[jfx20] RFR: 8290863: Update the documentation of Virtualized controls to include the best practice of not using Nodes directly in the item list [v3]

Ajit Ghaisas aghaisas at openjdk.org
Tue Jan 24 10:40:37 UTC 2023


On Thu, 19 Jan 2023 05:24:06 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove extra spaces
>
> modules/javafx.controls/src/main/java/javafx/scene/control/ListView.java line 152:
> 
>> 150:  * <h3>Warning: Nodes should not be inserted directly into the items list</h3>
>> 151:  * ListView allows for the items list to contain elements of any type, including
>> 152:  * {@link Node} instances. Putting nodes into
> 
> `Node` is already linked above so there's no need for it, but it's fine to leave as is.

The first occurrence of `{@link Node}` is on line 152. I have kept the first occurrence and replaced others with `{@code Node}`

-------------

PR: https://git.openjdk.org/jfx/pull/995


More information about the openjfx-dev mailing list