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

Sequential and Parallel Transitions should inherit from a common type

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx12
    • javafx
    • None

      SequentialTransition and ParallelTransition are the only Transitions that can embed animations. As such, they share a lot of code that represents this behavior. It makes sense to have them extend an abstract common supertype. This type can also be used as the type for `parent` in Animation.

      We can also consider having them Implement an interface instead, but this is useful only if there is a way for other classes (including user-defined) that can benefit from it.

            nlisker Nir Lisker
            nlisker Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: