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

Readonly properties in Animation API do not return correct type

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved:
              Imported: