Skip to content

NodeAnimateEvent

final class NodeAnimateEvent<N extends Node>
Extends: NodeEvent<N>
Package: dev.joid.lib.ui.event.impl.node · Module: core · Source: NodeAnimateEvent.java

The event of onAnimate, with the animator of a node and the value it reached on this frame.

Node.onAnimate fires on the frames where an animator given to Node.animate changes its value.

ReturnsSignatureSummary
NodeAnimateEvent<N>create(N node, TweenAnimator animator, float value) factoryCreates the event for a node, one of its animators and the value of that animator.

ReturnsSignatureSummary
floatgetValue()Returns the value of the animator on this frame.
TweenAnimatorgetAnimator()Returns the TweenAnimator whose value changed.
Inherited from NodeEvent (1)

getNode

<N extends Node> NodeAnimateEvent<N> create(N node, TweenAnimator animator, float value) factory

Creates the event for a node, one of its animators and the value of that animator.

float getValue()

Returns the value of the animator on this frame.

TweenAnimator getAnimator()

Returns the TweenAnimator whose value changed.


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

Report a problem with this page