TweenEvent
final class TweenEvent
Extends: Event
Package: dev.joid.lib.animation.tween · Module: core · Source: TweenEvent.java
Event fired by a tween or a timeline at the start and at the end of its plays.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
TweenEvent | create(BaseTween<?> tween) factory | Creates the event of tween. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
BaseTween<?> | getTween() | Returns the tween or timeline that fired the event. |
Creation details
Section titled “Creation details”create
Section titled “create”TweenEvent create(BaseTween<?> tween) factory
Creates the event of tween.
Method details
Section titled “Method details”getTween
Section titled “getTween”BaseTween<?> getTween()
Returns the tween or timeline that fired the event.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
