changeset 2292:ea96f2c95dba

RT-26141: Backout changeset 67fd43b5577a pending API approval.
author leifs
date Tue, 22 Jan 2013 07:24:01 -0800
parents 8715555d992a
children 63d458f96141 a471d1c4e9bf
files javafx-ui-charts/src/javafx/scene/chart/Chart.java javafx-ui-common/src/javafx/scene/Node.java javafx-ui-common/src/javafx/scene/text/Text.java javafx-ui-common/test/unit/javafx/scene/Node_hasMirroring_Test.java javafx-ui-controls/src/com/sun/javafx/scene/control/skin/ProgressIndicatorSkin.java
diffstat 5 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-charts/src/javafx/scene/chart/Chart.java	Tue Jan 22 11:43:45 2013 +0000
+++ b/javafx-ui-charts/src/javafx/scene/chart/Chart.java	Tue Jan 22 07:24:01 2013 -0800
@@ -84,7 +84,7 @@
             final double contentHeight = snapSize(height - (top + bottom));
             layoutChartChildren(snapPosition(top), snapPosition(left),contentWidth,contentHeight);
         }
-        @Override public boolean usesMirroring() {
+        @Override public boolean isAutomaticallyMirrored() {
             return useChartContentMirroring;
         }
     };
--- a/javafx-ui-common/src/javafx/scene/Node.java	Tue Jan 22 11:43:45 2013 +0000
+++ b/javafx-ui-common/src/javafx/scene/Node.java	Tue Jan 22 07:24:01 2013 -0800
@@ -5271,7 +5271,7 @@
      * orientation without using the automatic transformation.
      * </p>
      */
-    public boolean usesMirroring() {
+    public boolean isAutomaticallyMirrored() {
         return true;
     }
 
@@ -5319,7 +5319,7 @@
     }
 
     private NodeOrientation calcAutomaticNodeOrientation() {
-        if (!usesMirroring()) {
+        if (!isAutomaticallyMirrored()) {
             return NodeOrientation.LEFT_TO_RIGHT;
         }
 
--- a/javafx-ui-common/src/javafx/scene/text/Text.java	Tue Jan 22 11:43:45 2013 +0000
+++ b/javafx-ui-common/src/javafx/scene/text/Text.java	Tue Jan 22 07:24:01 2013 -0800
@@ -209,7 +209,7 @@
     }
 
     @Override
-    public boolean usesMirroring() {
+    public boolean isAutomaticallyMirrored() {
         return false;
     }
 
--- a/javafx-ui-common/test/unit/javafx/scene/Node_hasMirroring_Test.java	Tue Jan 22 11:43:45 2013 +0000
+++ b/javafx-ui-common/test/unit/javafx/scene/Node_hasMirroring_Test.java	Tue Jan 22 07:24:01 2013 -0800
@@ -147,7 +147,7 @@
                                   final Node... childNodes) {
         final Group group = new Group() {
                                     @Override
-                                    public boolean usesMirroring() {
+                                    public boolean isAutomaticallyMirrored() {
                                         return false;
                                     }
                                 };
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/ProgressIndicatorSkin.java	Tue Jan 22 11:43:45 2013 +0000
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/ProgressIndicatorSkin.java	Tue Jan 22 07:24:01 2013 -0800
@@ -284,7 +284,7 @@
             }
         }
 
-        @Override public boolean usesMirroring() {
+        @Override public boolean isAutomaticallyMirrored() {
             // This is used instead of setting NodeOrientation,
             // allowing the Text node to inherit the current
             // orientation.