public final class JFXAnimationTemplateAction<N,T> extends Object
KeyFrame
and KeyValue
.KeyFrame
and KeyValue
implementations.Modifier and Type | Class and Description |
---|---|
static class |
JFXAnimationTemplateAction.Builder<N,T> |
static class |
JFXAnimationTemplateAction.InitBuilder<N> |
Modifier and Type | Field and Description |
---|---|
static int |
INFINITE_EXECUTIONS |
Modifier and Type | Method and Description |
---|---|
void |
addExecution(int count) |
static JFXAnimationTemplateAction.InitBuilder<javafx.scene.Node> |
builder() |
static <N> JFXAnimationTemplateAction.InitBuilder<N> |
builder(Class<N> animationObjectType) |
T |
getEndValue() |
int |
getExecutions() |
Optional<javafx.beans.value.WritableValue<T>> |
getFirstTarget() |
Optional<javafx.animation.Interpolator> |
getInterpolator() |
int |
getRemainingExecutions() |
Collection<Function<N,javafx.beans.value.WritableValue<T>>> |
getTargetFunctions() |
void |
handleOnFinish(javafx.event.ActionEvent actionEvent) |
boolean |
hasRemainingExecutions() |
boolean |
isExecuted()
|
boolean |
isExecuteWhen() |
<M> Stream<M> |
mapTo(Function<javafx.beans.value.WritableValue<Object>,M> mappingFunction) |
public static final int INFINITE_EXECUTIONS
public static <N> JFXAnimationTemplateAction.InitBuilder<N> builder(Class<N> animationObjectType)
public static JFXAnimationTemplateAction.InitBuilder<javafx.scene.Node> builder()
public Collection<Function<N,javafx.beans.value.WritableValue<T>>> getTargetFunctions()
public T getEndValue()
public Optional<javafx.animation.Interpolator> getInterpolator()
public boolean isExecuteWhen()
public int getExecutions()
public void addExecution(int count)
public int getRemainingExecutions()
public boolean hasRemainingExecutions()
public boolean isExecuted()
public void handleOnFinish(javafx.event.ActionEvent actionEvent)