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

Parent : add new public layout method, optimized to only layout this parent and it's children.

    XMLWordPrintable

    Details

      Description

      The current requestLayout method in Parent clears the
      cache and requests the layout of all Parents in the containment
      hierarchy. This can be unnecessary if the change is
      contained within the requesting node, and there is
      no change to it's external size, or min/max/pref size.
      A good example of this is that currently an internal change
      to a table-cell could cause an entire table to re-layout.

      In order to solve this we need an additional method in
      Parent which only requests the layout of the current parent
      node and it's children.

      There is a significant performance gain when this is used in
      cases where it is known that there are no changes to
      either the parents dimensions or min/max/preferred size.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              miflemi Mick Fleming (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Imported: