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

Sequential and Parallel Transitions should inherit from a common type

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx12
    • Fix Version/s: openjfx14
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: