> `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 with a new target base due to a 
merge or a rebase. The pull request now contains seven commits:

 - added javadoc
 - Merge branch 'master' into fixes/node-listener-cleanup
   
   # Conflicts:
   #    modules/javafx.graphics/src/main/java/javafx/scene/Node.java
 - Replace null check by explicit underConstruction flag
 - Merge branch 'master' into fixes/node-listener-cleanup
 - 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=02
  Stats: 88 lines in 3 files changed: 62 ins; 10 del; 16 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