Revision: 1228
Author:   heuermh
Date:     Tue Nov 26 22:59:13 2013 UTC
Log:      Issue 166 ; mark PNode moveToFront and related as @deprecated
http://code.google.com/p/piccolo2d/source/detail?r=1228

Modified:
 /piccolo2d.java/trunk/core/src/main/java/org/piccolo2d/PNode.java
/piccolo2d.java/trunk/core/src/main/java/org/piccolo2d/event/PDragEventHandler.java

=======================================
--- /piccolo2d.java/trunk/core/src/main/java/org/piccolo2d/PNode.java Tue Sep 4 16:10:27 2012 UTC +++ /piccolo2d.java/trunk/core/src/main/java/org/piccolo2d/PNode.java Tue Nov 26 22:59:13 2013 UTC
@@ -3244,6 +3244,8 @@
     /**
* Change the order of this node in its parent's children list so that it
      * will draw in back of all of its other sibling nodes.
+     *
+ * @deprecated by lowerToBottom in version 3.0, see http://code.google.com/p/piccolo2d/issues/detail?id=166
      */
     public void moveToBack() {
         final PNode p = parent;
@@ -3258,6 +3260,7 @@
      * will draw in back of the specified sibling node.
      *
      * @param sibling sibling to move in back of
+ * @deprecated by lowerBelow(PNode) in version 3.0, see http://code.google.com/p/piccolo2d/issues/detail?id=166
      */
     public void moveInBackOf(final PNode sibling) {
         final PNode p = parent;
@@ -3271,6 +3274,8 @@
     /**
* Change the order of this node in its parent's children list so that it
      * will draw in front of all of its other sibling nodes.
+     *
+ * @deprecated by raiseToTop in version 3.0, see http://code.google.com/p/piccolo2d/issues/detail?id=166
      */
     public void moveToFront() {
         final PNode p = parent;
@@ -3285,6 +3290,7 @@
      * will draw in front of the specified sibling node.
      *
      * @param sibling sibling to move in front of
+ * @deprecated by raiseAbove(PNode) in version 3.0, see http://code.google.com/p/piccolo2d/issues/detail?id=166
      */
     public void moveInFrontOf(final PNode sibling) {
         final PNode p = parent;
=======================================
--- /piccolo2d.java/trunk/core/src/main/java/org/piccolo2d/event/PDragEventHandler.java Tue Mar 15 22:23:53 2011 UTC +++ /piccolo2d.java/trunk/core/src/main/java/org/piccolo2d/event/PDragEventHandler.java Tue Nov 26 22:59:13 2013 UTC
@@ -128,6 +128,7 @@
      * to the front of all other on drag.
      *
      * @return true if dragging a node will move it to the front
+ * @deprecated by getRaiseToTopOnPress, see http://code.google.com/p/piccolo2d/issues/detail?id=166
      */
     public boolean getMoveToFrontOnPress() {
         return moveToFrontOnPress;
@@ -139,6 +140,7 @@
      *
* @param moveToFrontOnPress true if dragging a node should move it to the
      *            front
+ * @deprecated by setRaiseToTopOnPress(boolean), see http://code.google.com/p/piccolo2d/issues/detail?id=166
      */
     public void setMoveToFrontOnPress(final boolean moveToFrontOnPress) {
         this.moveToFrontOnPress = moveToFrontOnPress;

--
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
--- You received this message because you are subscribed to the Google Groups "Piccolo2D Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to piccolo2d-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to