<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_141) on Mon Oct 30 09:22:16 GMT 2017 --> <title>SequentialTransition (JavaFX 8)</title> <meta name="date" content="2017-10-30"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="SequentialTransition (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/SequentialTransition.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-all.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../javafx/animation/ScaleTransition.html" title="class in javafx.animation"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../javafx/animation/StrokeTransition.html" title="class in javafx.animation"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?javafx/animation/SequentialTransition.html" target="_top">Frames</a></li> <li><a href="SequentialTransition.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.classes.inherited.from.class.javafx.animation.Animation">Nested</a> | </li> <li><a href="#fields.inherited.from.class.javafx.animation.Animation">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">javafx.animation</div> <h2 title="Class SequentialTransition" class="title">Class SequentialTransition</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../javafx/animation/Animation.html" title="class in javafx.animation">javafx.animation.Animation</a></li> <li> <ul class="inheritance"> <li><a href="../../javafx/animation/Transition.html" title="class in javafx.animation">javafx.animation.Transition</a></li> <li> <ul class="inheritance"> <li>javafx.animation.SequentialTransition</li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public final class <span class="typeNameLabel">SequentialTransition</span> extends <a href="../../javafx/animation/Transition.html" title="class in javafx.animation">Transition</a></pre> <div class="block">This <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transition</code></a> plays a list of <a href="../../javafx/animation/Animation.html" title="class in javafx.animation"><code>Animations</code></a> in sequential order. <p> Children of this <code>Transition</code> inherit <a href="../../javafx/animation/SequentialTransition.html#nodeProperty--"><code>node</code></a>, if their <code>node</code> property is not specified. <p> Code Segment Example: </p> <pre> <code> Rectangle rect = new Rectangle (100, 40, 100, 100); rect.setArcHeight(50); rect.setArcWidth(50); rect.setFill(Color.VIOLET); final Duration SEC_2 = Duration.millis(2000); final Duration SEC_3 = Duration.millis(3000); PauseTransition pt = new PauseTransition(Duration.millis(1000)); FadeTransition ft = new FadeTransition(SEC_3); ft.setFromValue(1.0f); ft.setToValue(0.3f); ft.setCycleCount(2f); ft.setAutoReverse(true); TranslateTransition tt = new TranslateTransition(SEC_2); tt.setFromX(-100f); tt.setToX(100f); tt.setCycleCount(2f); tt.setAutoReverse(true); RotateTransition rt = new RotateTransition(SEC_3); rt.setByAngle(180f); rt.setCycleCount(4f); rt.setAutoReverse(true); ScaleTransition st = new ScaleTransition(SEC_2); st.setByX(1.5f); st.setByY(1.5f); st.setCycleCount(2f); st.setAutoReverse(true); SequentialTransition seqT = new SequentialTransition (rect, pt, ft, tt, rt, st); seqT.play(); </code> </pre></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transition</code></a>, <a href="../../javafx/animation/Animation.html" title="class in javafx.animation"><code>Animation</code></a></dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== PROPERTY SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="property.summary"> <!-- --> </a> <h3>Property Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Type</th> <th class="colLast" scope="col">Property and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#nodeProperty">node</a></span></code> <div class="block">This <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> is used in all child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a>, that do not define a target <code>Node</code> themselves.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.animation.Transition"> <!-- --> </a> <h3>Properties inherited from class javafx.animation.<a href="../../javafx/animation/Transition.html" title="class in javafx.animation">Transition</a></h3> <code><a href="../../javafx/animation/Transition.html#interpolatorProperty">interpolator</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.animation.Animation"> <!-- --> </a> <h3>Properties inherited from class javafx.animation.<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a></h3> <code><a href="../../javafx/animation/Animation.html#autoReverseProperty">autoReverse</a>, <a href="../../javafx/animation/Animation.html#currentRateProperty">currentRate</a>, <a href="../../javafx/animation/Animation.html#currentTimeProperty">currentTime</a>, <a href="../../javafx/animation/Animation.html#cycleCountProperty">cycleCount</a>, <a href="../../javafx/animation/Animation.html#cycleDurationProperty">cycleDuration</a>, <a href="../../javafx/animation/Animation.html#delayProperty">delay</a>, <a href="../../javafx/animation/Animation.html#onFinishedProperty">onFinished</a>, <a href="../../javafx/animation/Animation.html#rateProperty">rate</a>, <a href="../../javafx/animation/Animation.html#statusProperty">status</a>, <a href="../../javafx/animation/Animation.html#totalDurationProperty">totalDuration</a></code></li> </ul> </li> </ul> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested.class.summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <ul class="blockList"> <li class="blockList"><a name="nested.classes.inherited.from.class.javafx.animation.Animation"> <!-- --> </a> <h3>Nested classes/interfaces inherited from class javafx.animation.<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a></h3> <code><a href="../../javafx/animation/Animation.Status.html" title="enum in javafx.animation">Animation.Status</a></code></li> </ul> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field.summary"> <!-- --> </a> <h3>Field Summary</h3> <ul class="blockList"> <li class="blockList"><a name="fields.inherited.from.class.javafx.animation.Animation"> <!-- --> </a> <h3>Fields inherited from class javafx.animation.<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a></h3> <code><a href="../../javafx/animation/Animation.html#INDEFINITE">INDEFINITE</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#SequentialTransition--">SequentialTransition</a></span>()</code> <div class="block">The constructor of <code>SequentialTransition</code>.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#SequentialTransition-javafx.animation.Animation...-">SequentialTransition</a></span>(<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a>... children)</code> <div class="block">The constructor of <code>SequentialTransition</code>.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#SequentialTransition-javafx.scene.Node-">SequentialTransition</a></span>(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> node)</code> <div class="block">The constructor of <code>SequentialTransition</code>.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#SequentialTransition-javafx.scene.Node-javafx.animation.Animation...-">SequentialTransition</a></span>(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> node, <a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a>... children)</code> <div class="block">The constructor of <code>SequentialTransition</code>.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#getChildren--">getChildren</a></span>()</code> <div class="block">A list of <a href="../../javafx/animation/Animation.html" title="class in javafx.animation"><code>Animations</code></a> that will be played sequentially.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#getNode--">getNode</a></span>()</code> <div class="block">Gets the value of the property node.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>protected <a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#getParentTargetNode--">getParentTargetNode</a></span>()</code> <div class="block">Returns the target <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> for animation of this <code>Transition</code>.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#interpolate-double-">interpolate</a></span>(double frac)</code> <div class="block">The method <code>interpolate()</code> has to be provided by implementations of <code>Transition</code>.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code><a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#nodeProperty--">nodeProperty</a></span>()</code> <div class="block">This <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> is used in all child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a>, that do not define a target <code>Node</code> themselves.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/animation/SequentialTransition.html#setNode-javafx.scene.Node-">setNode</a></span>(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> value)</code> <div class="block">Sets the value of the property node.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.animation.Transition"> <!-- --> </a> <h3>Methods inherited from class javafx.animation.<a href="../../javafx/animation/Transition.html" title="class in javafx.animation">Transition</a></h3> <code><a href="../../javafx/animation/Transition.html#getCachedInterpolator--">getCachedInterpolator</a>, <a href="../../javafx/animation/Transition.html#getInterpolator--">getInterpolator</a>, <a href="../../javafx/animation/Transition.html#interpolatorProperty--">interpolatorProperty</a>, <a href="../../javafx/animation/Transition.html#setInterpolator-javafx.animation.Interpolator-">setInterpolator</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.animation.Animation"> <!-- --> </a> <h3>Methods inherited from class javafx.animation.<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a></h3> <code><a href="../../javafx/animation/Animation.html#autoReverseProperty--">autoReverseProperty</a>, <a href="../../javafx/animation/Animation.html#currentRateProperty--">currentRateProperty</a>, <a href="../../javafx/animation/Animation.html#currentTimeProperty--">currentTimeProperty</a>, <a href="../../javafx/animation/Animation.html#cycleCountProperty--">cycleCountProperty</a>, <a href="../../javafx/animation/Animation.html#cycleDurationProperty--">cycleDurationProperty</a>, <a href="../../javafx/animation/Animation.html#delayProperty--">delayProperty</a>, <a href="../../javafx/animation/Animation.html#getCuePoints--">getCuePoints</a>, <a href="../../javafx/animation/Animation.html#getCurrentRate--">getCurrentRate</a>, <a href="../../javafx/animation/Animation.html#getCurrentTime--">getCurrentTime</a>, <a href="../../javafx/animation/Animation.html#getCycleCount--">getCycleCount</a>, <a href="../../javafx/animation/Animation.html#getCycleDuration--">getCycleDuration</a>, <a href="../../javafx/animation/Animation.html#getDelay--">getDelay</a>, <a href="../../javafx/animation/Animation.html#getOnFinished--">getOnFinished</a>, <a href="../../javafx/animation/Animation.html#getRate--">getRate</a>, <a href="../../javafx/animation/Animation.html#getStatus--">getStatus</a>, <a href="../../javafx/animation/Animation.html#getTargetFramerate--">getTargetFramerate</a>, <a href="../../javafx/animation/Animation.html#getTotalDuration--">getTotalDuration</a>, <a href="../../javafx/animation/Animation.html#isAutoReverse--">isAutoReverse</a>, <a href="../../javafx/animation/Animation.html#jumpTo-javafx.util.Duration-">jumpTo</a>, <a href="../../javafx/animation/Animation.html#jumpTo-java.lang.String-">jumpTo</a>, <a href="../../javafx/animation/Animation.html#onFinishedProperty--">onFinishedProperty</a>, <a href="../../javafx/animation/Animation.html#pause--">pause</a>, <a href="../../javafx/animation/Animation.html#play--">play</a>, <a href="../../javafx/animation/Animation.html#playFrom-javafx.util.Duration-">playFrom</a>, <a href="../../javafx/animation/Animation.html#playFrom-java.lang.String-">playFrom</a>, <a href="../../javafx/animation/Animation.html#playFromStart--">playFromStart</a>, <a href="../../javafx/animation/Animation.html#rateProperty--">rateProperty</a>, <a href="../../javafx/animation/Animation.html#setAutoReverse-boolean-">setAutoReverse</a>, <a href="../../javafx/animation/Animation.html#setCycleCount-int-">setCycleCount</a>, <a href="../../javafx/animation/Animation.html#setCycleDuration-javafx.util.Duration-">setCycleDuration</a>, <a href="../../javafx/animation/Animation.html#setDelay-javafx.util.Duration-">setDelay</a>, <a href="../../javafx/animation/Animation.html#setOnFinished-javafx.event.EventHandler-">setOnFinished</a>, <a href="../../javafx/animation/Animation.html#setRate-double-">setRate</a>, <a href="../../javafx/animation/Animation.html#setStatus-javafx.animation.Animation.Status-">setStatus</a>, <a href="../../javafx/animation/Animation.html#statusProperty--">statusProperty</a>, <a href="../../javafx/animation/Animation.html#stop--">stop</a>, <a href="../../javafx/animation/Animation.html#totalDurationProperty--">totalDurationProperty</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ PROPERTY DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="property.detail"> <!-- --> </a> <h3>Property Detail</h3> <a name="nodeProperty"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>node</h4> <pre>public final <a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>> nodeProperty</pre> <div class="block">This <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> is used in all child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a>, that do not define a target <code>Node</code> themselves. This can be used if a number of <code>Transitions</code> should be applied to a single <code>Node</code>. <p> It is not possible to change the target <code>node</code> of a running <code>Transition</code>. If the value of <code>node</code> is changed for a running <code>Transition</code>, the animation has to be stopped and started again to pick up the new value.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/animation/SequentialTransition.html#getNode--"><code>getNode()</code></a>, <a href="../../javafx/animation/SequentialTransition.html#setNode-javafx.scene.Node-"><code>setNode(Node)</code></a></dd> </dl> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="SequentialTransition-javafx.scene.Node-javafx.animation.Animation...-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>SequentialTransition</h4> <pre>public SequentialTransition(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> node, <a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a>... children)</pre> <div class="block">The constructor of <code>SequentialTransition</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>node</code> - The target <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> to be used in child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a> that have no <code>Node</code> specified themselves</dd> <dd><code>children</code> - The child <a href="../../javafx/animation/Animation.html" title="class in javafx.animation"><code>Animations</code></a> of this <code>SequentialTransition</code></dd> </dl> </li> </ul> <a name="SequentialTransition-javafx.animation.Animation...-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>SequentialTransition</h4> <pre>public SequentialTransition(<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a>... children)</pre> <div class="block">The constructor of <code>SequentialTransition</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>children</code> - The child <a href="../../javafx/animation/Animation.html" title="class in javafx.animation"><code>Animations</code></a> of this <code>SequentialTransition</code></dd> </dl> </li> </ul> <a name="SequentialTransition-javafx.scene.Node-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>SequentialTransition</h4> <pre>public SequentialTransition(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> node)</pre> <div class="block">The constructor of <code>SequentialTransition</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>node</code> - The target <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> to be used in child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a> that have no <code>Node</code> specified themselves</dd> </dl> </li> </ul> <a name="SequentialTransition--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>SequentialTransition</h4> <pre>public SequentialTransition()</pre> <div class="block">The constructor of <code>SequentialTransition</code>.</div> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="setNode-javafx.scene.Node-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setNode</h4> <pre>public final void setNode(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> value)</pre> <div class="block">Sets the value of the property node.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>This <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> is used in all child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a>, that do not define a target <code>Node</code> themselves. This can be used if a number of <code>Transitions</code> should be applied to a single <code>Node</code>. <p> It is not possible to change the target <code>node</code> of a running <code>Transition</code>. If the value of <code>node</code> is changed for a running <code>Transition</code>, the animation has to be stopped and started again to pick up the new value.</dd> </dl> </li> </ul> <a name="getNode--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getNode</h4> <pre>public final <a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> getNode()</pre> <div class="block">Gets the value of the property node.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>This <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> is used in all child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a>, that do not define a target <code>Node</code> themselves. This can be used if a number of <code>Transitions</code> should be applied to a single <code>Node</code>. <p> It is not possible to change the target <code>node</code> of a running <code>Transition</code>. If the value of <code>node</code> is changed for a running <code>Transition</code>, the animation has to be stopped and started again to pick up the new value.</dd> </dl> </li> </ul> <a name="nodeProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>nodeProperty</h4> <pre>public final <a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>> nodeProperty()</pre> <div class="block">This <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> is used in all child <a href="../../javafx/animation/Transition.html" title="class in javafx.animation"><code>Transitions</code></a>, that do not define a target <code>Node</code> themselves. This can be used if a number of <code>Transitions</code> should be applied to a single <code>Node</code>. <p> It is not possible to change the target <code>node</code> of a running <code>Transition</code>. If the value of <code>node</code> is changed for a running <code>Transition</code>, the animation has to be stopped and started again to pick up the new value.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/animation/SequentialTransition.html#getNode--"><code>getNode()</code></a>, <a href="../../javafx/animation/SequentialTransition.html#setNode-javafx.scene.Node-"><code>setNode(Node)</code></a></dd> </dl> </li> </ul> <a name="getChildren--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getChildren</h4> <pre>public final <a href="../../javafx/collections/ObservableList.html" title="interface in javafx.collections">ObservableList</a><<a href="../../javafx/animation/Animation.html" title="class in javafx.animation">Animation</a>> getChildren()</pre> <div class="block">A list of <a href="../../javafx/animation/Animation.html" title="class in javafx.animation"><code>Animations</code></a> that will be played sequentially. <p> It is not possible to change the children of a running <code>SequentialTransition</code>. If the children are changed for a running <code>SequentialTransition</code>, the animation has to be stopped and started again to pick up the new value.</div> </li> </ul> <a name="getParentTargetNode--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getParentTargetNode</h4> <pre>protected <a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> getParentTargetNode()</pre> <div class="block">Returns the target <a href="../../javafx/scene/Node.html" title="class in javafx.scene"><code>Node</code></a> for animation of this <code>Transition</code>. This method returns <code>node</code> if it is set, else returns its <code>parent.getTargetNode()</code> otherwise null.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../javafx/animation/Transition.html#getParentTargetNode--">getParentTargetNode</a></code> in class <code><a href="../../javafx/animation/Transition.html" title="class in javafx.animation">Transition</a></code></dd> </dl> </li> </ul> <a name="interpolate-double-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>interpolate</h4> <pre>protected void interpolate(double frac)</pre> <div class="block">The method <code>interpolate()</code> has to be provided by implementations of <code>Transition</code>. While a <code>Transition</code> is running, this method is called in every frame. The parameter defines the current position with the animation. At the start, the fraction will be <code>0.0</code> and at the end it will be <code>1.0</code>. How the parameter increases, depends on the <a href="../../javafx/animation/Transition.html#interpolatorProperty--"><code>interpolator</code></a>, e.g. if the <code>interpolator</code> is <a href="../../javafx/animation/Interpolator.html#LINEAR"><code>Interpolator.LINEAR</code></a>, the fraction will increase linear. This method must not be called by the user directly.</div> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <dd><code><a href="../../javafx/animation/Transition.html#interpolate-double-">interpolate</a></code> in class <code><a href="../../javafx/animation/Transition.html" title="class in javafx.animation">Transition</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>frac</code> - The relative position</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/SequentialTransition.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-all.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../javafx/animation/ScaleTransition.html" title="class in javafx.animation"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../javafx/animation/StrokeTransition.html" title="class in javafx.animation"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?javafx/animation/SequentialTransition.html" target="_top">Frames</a></li> <li><a href="SequentialTransition.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.classes.inherited.from.class.javafx.animation.Animation">Nested</a> | </li> <li><a href="#fields.inherited.from.class.javafx.animation.Animation">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><font size="-1"><a href="http://bugreport.java.com/bugreport/" target="_blank">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="https://docs.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> <a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html" target="_blank">Copyright</a> © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to <a href="http://download.oracle.com/otndocs/jcp/java_se-8-mrel-spec/license.html" target="_blank">license terms</a>. Also see the <a target="_blank" href="http://www.oracle.com/technetwork/java/redist-137594.html" target="_blank">documentation redistribution policy</a>.</font></small></p> </body> </html>