Class InterpolationFactory


  • public class InterpolationFactory
    extends Object
    The class to build the interpolation for objects. The given object must implement AttributeMapI. using a third party lib, Trident.
    Author:
    Zhijie Lan

    create date: 2020/11/18

    See Also:
    org.pushingpixels.trident
    • Constructor Detail

      • InterpolationFactory

        public InterpolationFactory()
    • Method Detail

      • buildInterpolation

        public static void buildInterpolation​(Object preObj,
                                              Object curObj)
        transverse all the fields of a class using getter and setter functions to build interpolation between the previous object and the current object. Using Timeline.builder() to build timeline and TimelinePropertyBuilder to build interpolation
        Parameters:
        preObj - the previous object
        curObj - the current object
        See Also:
        org.pushingpixels.trident