[Rev 01] RFR: 8193800: TreeTableView selection changes on sorting
Ambarish Rapte
arapte at openjdk.java.net
Wed Jun 3 05:21:10 UTC 2020
On Tue, 2 Jun 2020 21:01:05 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> Ambarish Rapte has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Change isSortingInProgress to package scope
>
> modules/javafx.controls/src/main/java/javafx/scene/control/TreeTableView.java line 1807:
>
>> 1806:
>> 1807: boolean sortingInProgress;
>> 1808: boolean isSortingInProgress() {
>
> Minor: the field itself can be private.
Corrected in the next commit.
> modules/javafx.controls/src/main/java/javafx/scene/control/TreeTablePosition.java line 82:
>
>> 81: // This causes issue by triggering a new TreeModificationEvent while one TreeModificationEvent
>> 82: // is being handled currently.
>> 83: // This is kind of a copy constructor with different value for row.
>
> The first three lines of added comments don't really belong here. I would just document the new constructor as a
> copy-like constructor (with a different row) and mention that it is used by the TreeTableView::sort method.
Updated the doc in next commit, please take a look
-------------
PR: https://git.openjdk.java.net/jfx/pull/244
More information about the openjfx-dev
mailing list