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

Make javafx.scene.Node.hasTransforms() public

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx

      Description

      There's a private method inside Node "private boolean hasTransforms()" which is
      used to avoid getTransforms() when there are none. The getTransforms() call
      would instantiate a property or properties unnecessarily.

      In the Text subclass I need to call hasTransforms() but its private.
      As a result I am forced to call getTransforms() which is inefficient.
      I see no harm in making this method public.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lnerad Ľubomír Nerád
                Reporter:
                prr Philip Race
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: