Uses of Class
io.github.palexdev.materialfx.utils.AnimationUtils.AbstractBuilder
Packages that use AnimationUtils.AbstractBuilder
-
Uses of AnimationUtils.AbstractBuilder in io.github.palexdev.materialfx.utils
Subclasses of AnimationUtils.AbstractBuilder in io.github.palexdev.materialfx.utilsModifier and TypeClassDescriptionstatic classImplementation ofAnimationUtils.AbstractBuilderthat uses aParallelTransitionas "main" animation.static classImplementation ofAnimationUtils.AbstractBuilderthat uses aSequentialTransitionas "main" animation.Methods in io.github.palexdev.materialfx.utils that return AnimationUtils.AbstractBuilderModifier and TypeMethodDescriptionGets the animation from the supplier and adds it to the "main" animation by callingaddAnimation(Animation).AnimationUtils.AbstractBuilder.add(Supplier<Animation> animationSupplier, EventHandler<ActionEvent> onFinished) Gets the animation from the supplier, sets the given onFinished action to it and then adds it to the "main" animation by callingaddAnimation(Animation).Adds the given animation to the "main" animation by callingaddAnimation(Animation).AnimationUtils.AbstractBuilder.add(Animation animation, EventHandler<ActionEvent> onFinished) Sets the given onFinished action to the given animation and then adds it to the "main" animation by callingaddAnimation(Animation).Builds aTimelinewith the given keyframes and adds it to the "main" animation by callingaddAnimation(Animation).AnimationUtils.AbstractBuilder.add(EventHandler<ActionEvent> onFinished, KeyFrame... keyFrames) Builds aTimelinewith the given keyframes, sets the given onFinished action to it and then adds it to the "main" animation by callingaddAnimation(Animation).For each given node builds and adds an animation that disables the node after the given duration of time.For each given node builds and adds an animation that enables the node after the given duration of time.Callshide(Duration, Node...)by converting the given millis value withDuration.millis(double).Callshide(Duration, Window...)by converting the given millis value withDuration.millis(double).AnimationUtils.AbstractBuilder.hide(AnimationsData... data) Creates and adds a fade out animation for each givenAnimationsData.For each given node builds and adds an animation that hides the node by fading it out.For each given window builds and adds an animation that hides the window by fading it out.AnimationUtils.AbstractBuilder.setCycleCount(int cycleCount) Sets the "main" animation cycle count.AnimationUtils.AbstractBuilder.setDelay(double millis) Sets the "main" animation delay.Sets the "main" animation delay.AnimationUtils.AbstractBuilder.setOnFinished(EventHandler<ActionEvent> onFinished) Sets the action to perform when the "main" animation ends.AnimationUtils.AbstractBuilder.setRate(double rate) Sets the "main" animation rate/speed.Callsshow(Duration, Node...)by converting the given millis value withDuration.millis(double).Callsshow(Duration, Window...)by converting the given millis value withDuration.millis(double).AnimationUtils.AbstractBuilder.show(AnimationsData... data) Creates and adds a fade in animation for each givenAnimationsData.For each given node builds and adds an animation that shows the node by fading it in.For each given window builds and adds an animation that shows the window by fading it in.AnimationUtils.transitionText(Labeled labeled, double millis, String nexText) CallsAnimationUtils.transitionText(Labeled, Duration, String)by converting the given millis value withDuration.millis(double).AnimationUtils.transitionText(Labeled labeled, Duration duration, String nexText) Sets the text of the givenLabeledwith a fade out/fade in transition.AnimationUtils.transitionText(Text text, double millis, String nexText) CallsAnimationUtils.transitionText(Text, Duration, String)by converting the given millis value withDuration.millis(double).AnimationUtils.transitionText(Text text, Duration duration, String nexText) Sets the text of the givenTextwith a fade out/fade in transition.