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) boolean
isFromCurrent()
(package private) void
onStart()
(package private) void
updateFieldValue(float timelinePosition)
(package private) void
updateFrom()
(package private) void
updateTo()
-
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:
onStart
in classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
updateFrom
void updateFrom()
- Specified by:
updateFrom
in classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
updateTo
void updateTo()
- Specified by:
updateTo
in classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
isFromCurrent
boolean isFromCurrent()
- Specified by:
isFromCurrent
in classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
updateFieldValue
void updateFieldValue(float timelinePosition)
- Specified by:
updateFieldValue
in classTimelinePropertyBuilder.AbstractFieldInfo<T>
-
-