Package com.formdev.flatlaf.util
Interface Animator.TimingTarget
- Enclosing class:
Animator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Animation callbacks.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
begin()
Invoked when the animation begins.default void
end()
Invoked when the animation ends.void
timingEvent
(float fraction) Invoked multiple times while animation is running.
-
Method Details
-
timingEvent
void timingEvent(float fraction) Invoked multiple times while animation is running.- Parameters:
fraction
- the percent (0 to 1) elapsed of the current animation cycle
-
begin
default void begin()Invoked when the animation begins. -
end
default void end()Invoked when the animation ends.
-