Author: allain.lalonde
Date: Mon Jul 13 07:10:56 2009
New Revision: 450

Modified:
    piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PNode.java

Log:
Marked position as @deprecated, and make animateToRelativePosition public  
(from package private).

Modified:  
piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PNode.java
==============================================================================
--- piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PNode.java       
 
(original)
+++ piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PNode.java       
 
Mon Jul 13 07:10:56 2009
@@ -2021,7 +2021,7 @@
       *            this transform's node
       * @param millis Number of milliseconds over which to perform the  
animation
       */
-    PActivity animateToRelativePosition(Point2D srcPt, Point2D destPt,  
Rectangle2D destBounds, int millis) {
+    public PActivity animateToRelativePosition(Point2D srcPt, Point2D  
destPt, Rectangle2D destBounds, int millis) {
          double srcx, srcy;
          double destx, desty;
          double dx, dy;
@@ -2053,6 +2053,8 @@
      }

      /**
+     * @deprecated in favor of animateToRelativePosition
+     *
       * It will calculate the necessary transform in order to make this node
       * appear at a particular position relative to the specified bounding  
box.
       * The source point specifies a point in the unit square (0, 0) - (1,  
1)

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to