changeset 1084:34790ae10f52

[DOC-ONLY] Replace setRepeatCount() with setCylceCount() in documentation [RT-21604]
author Michael Heinrichs
date Thu, 17 May 2012 10:58:05 +0200
parents 5399dddbbae1
children 4c06d4756277
files javafx-ui-common/src/javafx/animation/FadeTransition.java javafx-ui-common/src/javafx/animation/FillTransition.java javafx-ui-common/src/javafx/animation/ParallelTransition.java javafx-ui-common/src/javafx/animation/PathTransition.java javafx-ui-common/src/javafx/animation/PauseTransition.java javafx-ui-common/src/javafx/animation/RotateTransition.java javafx-ui-common/src/javafx/animation/ScaleTransition.java javafx-ui-common/src/javafx/animation/SequentialTransition.java javafx-ui-common/src/javafx/animation/StrokeTransition.java javafx-ui-common/src/javafx/animation/TranslateTransition.java
diffstat 10 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/animation/FadeTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/FadeTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -66,7 +66,7 @@
  *     FadeTransition ft = new FadeTransition(Duration.millis(3000), rect);
  *     ft.setFromValue(1.0);
  *     ft.setToValue(0.3);
- *     ft.setRepeatCount(4);
+ *     ft.setCycleCount(4);
  *     ft.setAutoReverse(true);
  * 
  *     ft.play();
--- a/javafx-ui-common/src/javafx/animation/FillTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/FillTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -59,7 +59,7 @@
  *     rect.setArcWidth(50);
  * 
  *     FillTransition ft = new FillTransition(Duration.millis(3000), rect, Color.RED, Color.BLUE);
- *     ft.setRepeatCount(4);
+ *     ft.setCycleCount(4);
  *     ft.setAutoReverse(true);
  * 
  *     ft.play();
--- a/javafx-ui-common/src/javafx/animation/ParallelTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/ParallelTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -63,21 +63,21 @@
  *     FadeTransition ft = new FadeTransition(SEC_3);
  *     ft.setFromValue(1.0f);
  *     ft.setToValue(0.3f);
- *     ft.setRepeatCount(2f);
+ *     ft.setCycleCount(2f);
  *     ft.setAutoReverse(true);
  *     TranslateTransition tt = new TranslateTransition(SEC_2);
  *     tt.setFromX(-100f);
  *     tt.setToX(100f);
- *     tt.setRepeatCount(2f);
+ *     tt.setCycleCount(2f);
  *     tt.setAutoReverse(true);
  *     RotateTransition rt = new RotateTransition(SEC_3);
  *     rt.setByAngle(180f);
- *     rt.setRepeatCount(4f);
+ *     rt.setCycleCount(4f);
  *     rt.setAutoReverse(true);
  *     ScaleTransition st = new ScaleTransition(SEC_2);
  *     st.setByX(1.5f);
  *     st.setByY(1.5f);
- *     st.setRepeatCount(2f);
+ *     st.setCycleCount(2f);
  *     st.setAutoReverse(true);
  * 
  *     ParallelTransition pt = new ParallelTransition(rect, ft, tt, rt, st);
--- a/javafx-ui-common/src/javafx/animation/PathTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/PathTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -71,7 +71,7 @@
  *     pathTransition.setNode(rect);
  *     pathTransition.setPath(path);
  *     pathTransition.setOrientation(OrientationType.ORTHOGONAL_TO_TANGENT);
- *     pathTransition.setRepeatCount(4f);
+ *     pathTransition.setCycleCount(4f);
  *     pathTransition.setAutoReverse(true);
  * 
  *     pathTransition.play();
--- a/javafx-ui-common/src/javafx/animation/PauseTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/PauseTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -51,7 +51,7 @@
  * 
  *     RotateTransition rt = new RotateTransition(Duration.millis(3000), rect);
  *     rt.setByAngle(180);
- *     rt.setRepeatCount(4f);
+ *     rt.setCycleCount(4f);
  *     rt.setAutoReverse(true);
  *     SequentialTransition seqTransition = new SequentialTransition (
  *         new PauseTransition(Duration.millis(1000)), // wait a second
--- a/javafx-ui-common/src/javafx/animation/RotateTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/RotateTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -66,7 +66,7 @@
  * 
  *     RotateTransition rt = new RotateTransition(Duration.millis(3000), rect);
  *     rt.setByAngle(180);
- *     rt.setRepeatCount(4);
+ *     rt.setCycleCount(4);
  *     rt.setAutoReverse(true);
  * 
  *     rt.play();
--- a/javafx-ui-common/src/javafx/animation/ScaleTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/ScaleTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -70,7 +70,7 @@
  *     ScaleTransition st = new ScaleTransition(Duration.millis(2000), rect);
  *     st.setByX(1.5f);
  *     st.setByY(1.5f);
- *     st.setRepeatCount(4f);
+ *     st.setCycleCount(4f);
  *     st.setAutoReverse(true);
  * 
  *     st.play();
--- a/javafx-ui-common/src/javafx/animation/SequentialTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/SequentialTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -66,21 +66,21 @@
  *     FadeTransition ft = new FadeTransition(SEC_3);
  *     ft.setFromValue(1.0f);
  *     ft.setToValue(0.3f);
- *     ft.setRepeatCount(2f);
+ *     ft.setCycleCount(2f);
  *     ft.setAutoReverse(true);
  *     TranslateTransition tt = new TranslateTransition(SEC_2);
  *     tt.setFromX(-100f);
  *     tt.setToX(100f);
- *     tt.setRepeatCount(2f);
+ *     tt.setCycleCount(2f);
  *     tt.setAutoReverse(true);
  *     RotateTransition rt = new RotateTransition(SEC_3);
  *     rt.setByAngle(180f);
- *     rt.setRepeatCount(4f);
+ *     rt.setCycleCount(4f);
  *     rt.setAutoReverse(true);
  *     ScaleTransition st = new ScaleTransition(SEC_2);
  *     st.setByX(1.5f);
  *     st.setByY(1.5f);
- *     st.setRepeatCount(2f);
+ *     st.setCycleCount(2f);
  *     st.setAutoReverse(true);
  * 
  *     SequentialTransition seqT = new SequentialTransition (rect, pt, ft, tt, rt, st);
--- a/javafx-ui-common/src/javafx/animation/StrokeTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/StrokeTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -60,7 +60,7 @@
  *     rect.setFill(null);
  * 
  *     StrokeTransition st = new StrokeTransition(Duration.millis(3000), rect, Color.RED, Color.BLUE);
- *     st.setRepeatCount(4);
+ *     st.setCycleCount(4);
  *     st.setAutoReverse(true);
  * 
  *     st.play();
--- a/javafx-ui-common/src/javafx/animation/TranslateTransition.java	Wed May 16 21:31:28 2012 -0700
+++ b/javafx-ui-common/src/javafx/animation/TranslateTransition.java	Thu May 17 10:58:05 2012 +0200
@@ -68,7 +68,7 @@
  * 
  *     TranslateTransition tt = new TranslateTransition(Duration.millis(2000), rect);
  *     tt.setByX(200f);
- *     tt.setRepeatCount(4f);
+ *     tt.setCycleCount(4f);
  *     tt.setAutoReverse(true);
  * 
  *     tt.play();