Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8290765

Remove parent disabled/treeVisible listeners

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • jfx21
    • jfx18
    • javafx
    • None
    • b04

    Description

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

      Attachments

        Issue Links

          Activity

            People

              mstrauss Michael Strauß
              mstrauss Michael Strauß
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: