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

Improve collections support on Timeline (for convenience)

XMLWordPrintable

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

      While you can instantiate a Timeline with a vararg parameter of KeyFrames you cannot instantiate a Timeline with a List of KeyFrames. I suggest this is added, allowing us to write code like this

      List keyFrames = generateKeyFrames();
      keyFrames.add(generateSomeMoreKeyFrames();
      Timeline timline = new Timeline(keyFrames);

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

              Created:
              Updated: