public interface JFXTemplateAction<N> extends JFXTemplateProcess<N>
KeyValue
and represents a CSS like modify
block (for a specific part) in keyframe animations.Modifier and Type | Method and Description |
---|---|
JFXTemplateConfig<N> |
action(Function<JFXAnimationTemplateAction.InitBuilder<N>,JFXAnimationTemplateAction.Builder<?,?>> valueBuilderFunction)
The action method is similar like a
KeyValue . |
JFXTemplateConfig<N> |
action(JFXAnimationTemplateAction.Builder<?,?> animationValueBuilder)
Same as the
action(Function) method but without the lazy behaviour and doesn't provide
a JFXAnimationTemplateAction.builder() instance. |
from, percent, to
JFXTemplateConfig<N> action(Function<JFXAnimationTemplateAction.InitBuilder<N>,JFXAnimationTemplateAction.Builder<?,?>> valueBuilderFunction)
KeyValue
. Function
an action builder JFXAnimationTemplateAction.builder()
which holds all the specific methods.
.action(b -> b.target(Node::opacityProperty).endValue(0))
valueBuilderFunction
- a Function
which provides and accepts an JFXAnimationTemplateAction
builder.JFXTemplateConfig
instance.JFXTemplateConfig<N> action(JFXAnimationTemplateAction.Builder<?,?> animationValueBuilder)
action(Function)
method but without the lazy behaviour and doesn't provide
a JFXAnimationTemplateAction.builder()
instance.animationValueBuilder
- the JFXAnimationTemplateAction.builder()
instance.JFXTemplateConfig
instance.action(Function)