Integrated: 8258777: SkinBase: add api to un-/register invalidation-/listChange listeners

Jeanette Winzenburg fastegal at openjdk.java.net
Wed Apr 28 11:42:58 UTC 2021


On Mon, 22 Feb 2021 14:58:45 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

> Changes in Lambda..Handler:
> - added api and implemenation to support invalidation and listChange listeners in the same way as changeListeners
> - added java doc 
> - added tests
> 
> Changes in SkinBase
> - added api (and implementation delegating to the handler)
> - copied java doc from the change listener un/register methods 
> - added tests to verify that the new (and old) api is indeed delegating to the handler
> 
> Note that the null handling is slightly extended: all methods now can handle both null consumers (as before) and null observables (new) - this allows simplified code on rewiring "path" properties (see reference example in the issue)

This pull request has now been integrated.

Changeset: cc70cdf1
Author:    Jeanette Winzenburg <fastegal at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/cc70cdf19f0069cd485571231f89cf5939c7602f
Stats:     995 lines in 6 files changed: 954 ins; 10 del; 31 mod

8258777: SkinBase: add api to un-/register invalidation-/listChange listeners

Reviewed-by: kcr, arapte

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

PR: https://git.openjdk.java.net/jfx/pull/409


More information about the openjfx-dev mailing list