RFR: 8258777: SkinBase: add api to un-/register invalidation-/listChange listeners [v8]

Jeanette Winzenburg fastegal at openjdk.java.net
Mon Apr 12 12:05:46 UTC 2021


On Mon, 12 Apr 2021 10:39:07 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)
>
> Jeanette Winzenburg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   replaced param name in changeListener methods

created a csr draft [JDK-8265063](https://bugs.openjdk.java.net/browse/JDK-8265063) - waiting for all monsters in hell breaking out and heavens falling down ;-)

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

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


More information about the openjfx-dev mailing list