< prev index next >

modules/javafx.graphics/src/main/java/javafx/animation/PauseTransition.java

Print this page
rev 10598 : 8185767: Fix broken links in Javadocs


  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javafx.animation;
  27 
  28 import javafx.beans.property.ObjectProperty;
  29 import javafx.beans.property.ObjectPropertyBase;
  30 import javafx.util.Duration;
  31 
  32 /**
  33  * This {@code Transition} executes an {@link Animation#onFinished} at the end of its
  34  * {@link #duration}.
  35  *
  36  * <p>
  37  * Code Segment Example:
  38  * </p>
  39  *
  40  * <pre>
  41  * <code>
  42  * import javafx.scene.shape.*;
  43  * import javafx.animation.*;
  44  *
  45  * ...
  46  *
  47  *     Rectangle rect = new Rectangle (100, 40, 100, 100);
  48  *     rect.setArcHeight(50);
  49  *     rect.setArcWidth(50);
  50  *     rect.setFill(Color.VIOLET);
  51  *
  52  *     RotateTransition rt = new RotateTransition(Duration.millis(3000), rect);
  53  *     rt.setByAngle(180);
  54  *     rt.setCycleCount(4f);




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javafx.animation;
  27 
  28 import javafx.beans.property.ObjectProperty;
  29 import javafx.beans.property.ObjectPropertyBase;
  30 import javafx.util.Duration;
  31 
  32 /**
  33  * This {@code Transition} executes an {@link Animation#onFinished} at the end of its
  34  * {@link #durationProperty() duration}.
  35  *
  36  * <p>
  37  * Code Segment Example:
  38  * </p>
  39  *
  40  * <pre>
  41  * <code>
  42  * import javafx.scene.shape.*;
  43  * import javafx.animation.*;
  44  *
  45  * ...
  46  *
  47  *     Rectangle rect = new Rectangle (100, 40, 100, 100);
  48  *     rect.setArcHeight(50);
  49  *     rect.setArcWidth(50);
  50  *     rect.setFill(Color.VIOLET);
  51  *
  52  *     RotateTransition rt = new RotateTransition(Duration.millis(3000), rect);
  53  *     rt.setByAngle(180);
  54  *     rt.setCycleCount(4f);


< prev index next >