[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: Integrated: 8235491: Tree/TableView: implementation of isSelected(int) violates contract
From: Andy Goryachev <angorya () openjdk ! org>
Date: 2022-08-23 15:25:38
Message-ID: 0rUTjFXI54WReOKOL-rft-3M07Hv35bPtZ3qU3BlAPo=.411e20be-f220-42c2-9c8a-87de0031d2f7 () github ! com
[Download RAW message or body]
On Tue, 19 Jul 2022 22:08:19 GMT, Andy Goryachev <angorya@openjdk.org> wrote:
> 1. reword SelectionModel.isSelected(int) javadoc, removing incorrect statement "Is \
> functionally equivalent to calling \
> <code>getSelectedIndices().contains(index)</code>." 2. reimplement \
> TableView.TableViewSelectionModel.isSelected(int) method to return true when at \
> least one cell in *any* column is selected on the given row (was: *all* columns) 3. \
> modified TreeTableRow.updateSelection() to use the right isSelected() method 4. \
> updated tests for Tree/TableView
> NOTE: proposed change alters semantics of isSelected(int) method (in the right \
> direction, in my opinion).
This pull request has now been integrated.
Changeset: 7cb8d679
Author: Andy Goryachev <angorya@openjdk.org>
Committer: Kevin Rushforth <kcr@openjdk.org>
URL: https://git.openjdk.org/jfx/commit/7cb8d679dc2aa96b7c9a2bd60983ab74aa275967
Stats: 325 lines in 8 files changed: 285 ins; 9 del; 31 mod
8235491: Tree/TableView: implementation of isSelected(int) violates contract
Reviewed-by: aghaisas, fastegal, kcr
-------------
PR: https://git.openjdk.org/jfx/pull/839
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic