Class Timeline.BaseBuilder<T extends Timeline,B extends Timeline.BaseBuilder<?,?,?>,M>
java.lang.Object
org.pushingpixels.radiance.animation.api.Timeline.BaseBuilder<T,B,M>
- Direct Known Subclasses:
SwingComponentTimeline.Builder
,SwingRepaintTimeline.Builder
,Timeline.Builder
- Enclosing class:
Timeline
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<TimelineCallback> protected long
protected long
protected TimelineEase
protected long
protected M
protected String
protected List
<TimelinePropertyBuilder.AbstractFieldInfo<?>> protected Timeline.RepeatBehavior
protected int
protected Comparable
<?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCallback
(TimelineCallback callback) <P> B
addPropertyToInterpolate
(String propName, Supplier<P> fromSupplier, Supplier<P> toSupplier) <P> B
addPropertyToInterpolate
(String propName, KeyFrames<P> keyFrames) <P> B
addPropertyToInterpolate
(String propName, P from, P to) <P> B
addPropertyToInterpolate
(TimelinePropertyBuilder<P> propertyBuilder) abstract T
build()
protected void
configureBaseTimeline
(Timeline timeline) long
void
play()
A shortcut forbuild()
chained withTimeline.play()
void
playLoop
(int loopCount, Timeline.RepeatBehavior repeatBehavior) A shortcut forbuild()
chained withTimeline.playLoop(int, RepeatBehavior)
void
playLoop
(Timeline.RepeatBehavior repeatBehavior) A shortcut forbuild()
chained withTimeline.playLoop(RepeatBehavior)
void
playLoopSkipping
(int loopCount, Timeline.RepeatBehavior repeatBehavior, long msToSkip) A shortcut forbuild()
chained withTimeline.playLoopSkipping(int, RepeatBehavior, long)
void
playLoopSkipping
(Timeline.RepeatBehavior repeatBehavior, long msToSkip) A shortcut forbuild()
chained withTimeline.playLoopSkipping(RepeatBehavior, long)
void
A shortcut forbuild()
chained withTimeline.playReverse()
void
playReverseSkipping
(long msToSkip) A shortcut forbuild()
chained withTimeline.playReverseSkipping(long)
void
playSkipping
(long msToSkip) A shortcut forbuild()
chained withTimeline.playSkipping(long)
setCycleDelay
(long cycleDelay) setDuration
(long duration) setEase
(TimelineEase ease) setInitialDelay
(long initialDelay) setRepeatBehavior
(Timeline.RepeatBehavior repeatBehavior) setRepeatCount
(int repeatCount) setSecondaryId
(Comparable<?> secondaryId)
-
Field Details
-
mainObject
-
secondaryId
-
duration
protected long duration -
initialDelay
protected long initialDelay -
cycleDelay
protected long cycleDelay -
repeatCount
protected int repeatCount -
repeatBehavior
-
callbacks
-
name
-
propertiesToInterpolate
-
ease
-
-
Constructor Details
-
BaseBuilder
public BaseBuilder() -
BaseBuilder
-
-
Method Details
-
configureBaseTimeline
-
setSecondaryId
-
setDuration
-
getDuration
public long getDuration() -
setInitialDelay
-
setCycleDelay
-
setRepeatCount
-
setRepeatBehavior
-
setName
-
setEase
-
addPropertyToInterpolate
-
addPropertyToInterpolate
-
addPropertyToInterpolate
-
addPropertyToInterpolate
-
addCallback
-
build
-
play
public void play()A shortcut forbuild()
chained withTimeline.play()
-
playSkipping
public void playSkipping(long msToSkip) A shortcut forbuild()
chained withTimeline.playSkipping(long)
-
playReverse
public void playReverse()A shortcut forbuild()
chained withTimeline.playReverse()
-
playReverseSkipping
public void playReverseSkipping(long msToSkip) A shortcut forbuild()
chained withTimeline.playReverseSkipping(long)
-
playLoop
A shortcut forbuild()
chained withTimeline.playLoop(RepeatBehavior)
-
playLoopSkipping
A shortcut forbuild()
chained withTimeline.playLoopSkipping(RepeatBehavior, long)
-
playLoop
A shortcut forbuild()
chained withTimeline.playLoop(int, RepeatBehavior)
-
playLoopSkipping
A shortcut forbuild()
chained withTimeline.playLoopSkipping(int, RepeatBehavior, long)
-