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

Readonly properties in Animation API do not return correct type

    Details

      Description

      This was apparently an oversight. The following properties are readonly (that is even documented), but the property getter does not return a read only property (e.g. currentRateProperty() needs to return ReadOnlyDoubleProperty instead of DoubleProperty). The following methods have to be changed:

      Animation.currentRateProperty
      Animation.cycleDurationProperty
      Animation.totalDurationProperty
      Animation.currentTimeProperty
      Animation.statusProperty

        Attachments

          Activity

            People

            • Assignee:
              mheinrichs Michael Heinrichs (Inactive)
              Reporter:
              mheinrichs Michael Heinrichs (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: