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

Composite pattern in Animation API

XMLWordPrintable

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

      It would be good to have an ability write something like
      animation.getParent().getChildren().remove(animation)

      In order to have such an ability, we need:
      1. Implement getParent() in Animation class.
      2. Inherit SequentialTransition and ParallelTransition from some CompositeAnimation, which have getChildren() and is returned by getParent().

            nlisker Nir Lisker
            ilytvynenjfx Igor Lytvynenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported: