Class TimelinePropertyBuilder<T>
java.lang.Object
org.pushingpixels.radiance.animation.api.TimelinePropertyBuilder<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
static class
Default property getter.static class
Default property setter.private static class
private static class
private static class
static interface
Defines how to access a property.static interface
Defines how to get a property.static interface
Defines how to set a property. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate T
private TimelinePropertyBuilder.PropertyGetter
<T> private PropertyInterpolator
<T> private boolean
private final String
private TimelinePropertyBuilder.PropertySetter
<T> private Object
private T
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessWith
(TimelinePropertyBuilder.PropertyAccessor<T> pAccessor) fromSupplier
(Supplier<T> supplier) (package private) TimelinePropertyBuilder.AbstractFieldInfo
<T> getFieldInfo
(Object mainObject) private static Method
private static <T> TimelinePropertyBuilder.PropertyGetter
<T> getPropertyGetter
(Object obj, String fieldName, TimelinePropertyBuilder.PropertyGetter<T> pGetter) private static <T> TimelinePropertyBuilder.PropertySetter
<T> getPropertySetter
(Object obj, String fieldName, TimelinePropertyBuilder.PropertySetter<T> pSetter) private static Method
getWith
(TimelinePropertyBuilder.PropertyGetter<T> pGetter) goingThrough
(KeyFrames<? extends T> keyFrames) interpolatedWith
(PropertyInterpolator<T> pInterpolator) setWith
(TimelinePropertyBuilder.PropertySetter<T> pSetter) toSupplier
(Supplier<T> supplier)
-
Field Details
-
target
-
propertyName
-
from
-
fromSupplier
-
isFromCurrent
private boolean isFromCurrent -
to
-
toSupplier
-
interpolator
-
getter
-
setter
-
keyFrames
-
-
Constructor Details
-
TimelinePropertyBuilder
TimelinePropertyBuilder(String propertyName)
-
-
Method Details
-
from
-
fromSupplier
-
fromCurrent
-
to
-
toSupplier
-
on
-
interpolatedWith
-
setWith
-
getWith
-
accessWith
-
goingThrough
-
getFieldInfo
-
getPropertyGetter
private static <T> TimelinePropertyBuilder.PropertyGetter<T> getPropertyGetter(Object obj, String fieldName, TimelinePropertyBuilder.PropertyGetter<T> pGetter) -
getPropertySetter
private static <T> TimelinePropertyBuilder.PropertySetter<T> getPropertySetter(Object obj, String fieldName, TimelinePropertyBuilder.PropertySetter<T> pSetter) -
getSetter
-
getGetter
-