Integrated: 8154038: Spinner's converter should update its editor
Karthik P K
kpk at openjdk.org
Tue Mar 21 05:59:56 UTC 2023
On Fri, 10 Mar 2023 11:38:56 GMT, Karthik P K <kpk at openjdk.org> wrote:
> When converter was changed, `setText` method of spinner was not invoked to update the spinner text using new converter.
>
> Added a listener to converter property of `SpinnerValueFactory` to call `setText` so that spinner text is updated using new converter.
>
> Added unit test to validate the fix. Along with spinner of Double type, added a spinner of Integer type as well so that the fix is validated using 2 types of spinner.
This pull request has now been integrated.
Changeset: 0ab54e27
Author: Karthik P K <kpk at openjdk.org>
Committer: Ajit Ghaisas <aghaisas at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/0ab54e27d931d024c0d42235e6f70b859efec3bc
Stats: 72 lines in 2 files changed: 71 ins; 0 del; 1 mod
8154038: Spinner's converter should update its editor
Reviewed-by: aghaisas
-------------
PR: https://git.openjdk.org/jfx/pull/1057
More information about the openjfx-dev
mailing list