diff --git a/core/src/main/java/org/piccolo2d/PNode.java b/core/src/main/java/org/piccolo2d/PNode.java index 4a6c2e4..61ec35a 100644 --- a/core/src/main/java/org/piccolo2d/PNode.java +++ b/core/src/main/java/org/piccolo2d/PNode.java @@ -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; diff --git a/core/src/main/java/org/piccolo2d/event/PDragEventHandler.java b/core/src/main/java/org/piccolo2d/event/PDragEventHandler.java index 81fd50e..a44b238 100644 --- a/core/src/main/java/org/piccolo2d/event/PDragEventHandler.java +++ b/core/src/main/java/org/piccolo2d/event/PDragEventHandler.java @@ -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;