Class TimelinePropertyBuilder.GenericFieldInfo<T>
- java.lang.Object
-
- org.pushingpixels.radiance.animation.api.TimelinePropertyBuilder.AbstractFieldInfo<T>
-
- org.pushingpixels.radiance.animation.api.TimelinePropertyBuilder.GenericFieldInfo<T>
-
- Enclosing class:
- TimelinePropertyBuilder<T>
private static class TimelinePropertyBuilder.GenericFieldInfo<T> extends TimelinePropertyBuilder.AbstractFieldInfo<T>
-
-
Field Summary
Fields Modifier and Type Field Description private PropertyInterpolator<T>propertyInterpolator-
Fields inherited from class org.pushingpixels.radiance.animation.api.TimelinePropertyBuilder.AbstractFieldInfo
fieldName, from, fromSupplier, getter, object, setter, to, toSupplier
-
-
Constructor Summary
Constructors Constructor Description GenericFieldInfo(java.lang.Object obj, java.lang.String fieldName, T from, java.util.function.Supplier<T> fromSupplier, T to, java.util.function.Supplier<T> toSupplier, PropertyInterpolator<T> propertyInterpolator, TimelinePropertyBuilder.PropertySetter<T> propertySetter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanisFromCurrent()(package private) voidonStart()(package private) voidupdateFieldValue(float timelinePosition)(package private) voidupdateFrom()(package private) voidupdateTo()-
Methods inherited from class org.pushingpixels.radiance.animation.api.TimelinePropertyBuilder.AbstractFieldInfo
setValues
-
-
-
-
Field Detail
-
propertyInterpolator
private PropertyInterpolator<T> propertyInterpolator
-
-
Constructor Detail
-
GenericFieldInfo
GenericFieldInfo(java.lang.Object obj, java.lang.String fieldName, T from, java.util.function.Supplier<T> fromSupplier, T to, java.util.function.Supplier<T> toSupplier, PropertyInterpolator<T> propertyInterpolator, TimelinePropertyBuilder.PropertySetter<T> propertySetter)
-
-
Method Detail
-
onStart
void onStart()
- Specified by:
onStartin classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
updateFrom
void updateFrom()
- Specified by:
updateFromin classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
updateTo
void updateTo()
- Specified by:
updateToin classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
isFromCurrent
boolean isFromCurrent()
- Specified by:
isFromCurrentin classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
updateFieldValue
void updateFieldValue(float timelinePosition)
- Specified by:
updateFieldValuein classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
-