RFR: 8290765: Remove parent disabled/treeVisible listeners [v5]

Michael Strauß mstrauss at openjdk.org
Fri Feb 3 23:31:24 UTC 2023


> `Node` adds InvalidationListeners to its parent's `disabled` and `treeVisible` properties and calls its own `updateDisabled()` and `updateTreeVisible(boolean)` methods when the property values change.
> 
> These listeners are not required, since `Node` can easily call the `updateDisabled()` and `updateTreeVisible(boolean)` methods on its children, saving the memory cost of maintaining listeners and bindings.

Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:

  improved tests, changed foreach loop

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/841/files
  - new: https://git.openjdk.org/jfx/pull/841/files/02577bba..316ec939

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=841&range=04
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=841&range=03-04

  Stats: 14 lines in 2 files changed: 10 ins; 2 del; 2 mod
  Patch: https://git.openjdk.org/jfx/pull/841.diff
  Fetch: git fetch https://git.openjdk.org/jfx pull/841/head:pull/841

PR: https://git.openjdk.org/jfx/pull/841


More information about the openjfx-dev mailing list