Package prezoom.controller
Class InterpolationFactory
- java.lang.Object
-
- prezoom.controller.InterpolationFactory
-
public class InterpolationFactory extends Object
The class to build the interpolation for objects. The given object must implementAttributeMapI. using a third party lib, Trident.- Author:
- Zhijie Lan
create date: 2020/11/18
- See Also:
org.pushingpixels.trident
-
-
Constructor Summary
Constructors Constructor Description InterpolationFactory()
-
Method Summary
Modifier and Type Method Description static voidbuildInterpolation(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.
-
-
-
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. UsingTimeline.builder()to build timeline andTimelinePropertyBuilderto build interpolation- Parameters:
preObj- the previous objectcurObj- the current object- See Also:
org.pushingpixels.trident
-
-