public interface JFXTemplateConfig<N> extends JFXTemplateAction<N>
Timeline
and represents a CSS like final
configuration of the general keyframe animation.Modifier and Type | Method and Description |
---|---|
JFXTemplateBuilder<N> |
config(Function<JFXAnimationTemplateConfig.Builder,JFXAnimationTemplateConfig.Builder> configBuilderFunction)
The method provides via a
Function an config builder JFXAnimationTemplateConfig.builder() which holds all the specific methods. |
JFXTemplateBuilder<N> |
config(JFXAnimationTemplateConfig.Builder configBuilder)
Same as the
config(Function) method but without the lazy behaviour and doesn't provide
a JFXAnimationTemplateConfig.builder() instance. |
action, action
from, percent, to
JFXTemplateBuilder<N> config(Function<JFXAnimationTemplateConfig.Builder,JFXAnimationTemplateConfig.Builder> configBuilderFunction)
Function
an config builder JFXAnimationTemplateConfig.builder()
which holds all the specific methods. JFXAnimationTemplateConfig.builder()
methods represents the methods e.g. from a
Timeline
.
.config(b -> b.duration(Duration.seconds(2)).interpolator(Interpolator.EASE_BOTH))
configBuilderFunction
- a Function
which provides and accepts an JFXAnimationTemplateConfig
builder.JFXTemplateBuilder
instance.JFXTemplateBuilder<N> config(JFXAnimationTemplateConfig.Builder configBuilder)
config(Function)
method but without the lazy behaviour and doesn't provide
a JFXAnimationTemplateConfig.builder()
instance.configBuilder
- the JFXAnimationTemplateConfig.builder()
instance.JFXTemplateBuilder
instance.config(Function)