public static class Transition.AutoBoundsTransitionBuilder extends Transition.BaseTransitionUnitsBuilder
SpringTransition
but that can be customized by providing
other animator with #animator(TransitionAnimator)
.Transition.AnimationTarget, Transition.AutoBoundsTransitionBuilder, Transition.BaseTransitionUnitsBuilder, Transition.ComponentTarget, Transition.PropertyTarget, Transition.SpringTransitionAnimator, Transition.TimingTransitionAnimator, Transition.TransitionAnimator, Transition.TransitionKeyType, Transition.TransitionUnit, Transition.TransitionUnitsBuilder
SPRING_WITH_OVERSHOOT, SPRING_WITHOUT_OVERSHOOT
Modifier and Type | Method and Description |
---|---|
Transition.AutoBoundsTransitionBuilder |
animator(Transition.TransitionAnimator animator)
Use to define the
Transition.TransitionAnimator that drives the animation. |
Transition.AutoBoundsTransitionBuilder |
transitionEndHandler(EventHandler<TransitionEndEvent> transitionEndHandler)
Add a transition end handler that would get a callback whenever the transition finishes.
|
public Transition.AutoBoundsTransitionBuilder animator(Transition.TransitionAnimator animator)
Transition.TransitionAnimator
that drives the animation. The default is a
spring.public Transition.AutoBoundsTransitionBuilder transitionEndHandler(EventHandler<TransitionEndEvent> transitionEndHandler)
transitionEndHandler
-