`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.

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

Commit messages:
 - Merge
 - added tests
 - Remove Node.disabled and Node.treeVisible listeners

Changes: https://git.openjdk.org/jfx/pull/841/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=841&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8290765
  Stats: 69 lines in 3 files changed: 57 ins; 10 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

Reply via email to