Revision: 974
Author: heuermh
Date: Fri Feb 26 13:55:45 2010
Log: Issue 166 ; improved javadoc comments for moveToFront and related.
Fixes issue 166.
http://code.google.com/p/piccolo2d/source/detail?r=974
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
Mon Feb 1 11:58:18 2010
+++ /piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PNode.java
Fri Feb 26 13:55:45 2010
@@ -3328,9 +3328,9 @@
/**
* 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.
+ * will draw in back of the specified sibling node.
*
- * @param sibling sibling in back of which this nodes should be moved.
+ * @param sibling sibling to move in back of
*/
public void moveInBackOf(final PNode sibling) {
final PNode p = parent;
@@ -3343,7 +3343,7 @@
/**
* Change the order of this node in its parent's children list so that
it
- * will draw after the given sibling node.
+ * will draw in front of all of its other sibling nodes.
*/
public void moveToFront() {
final PNode p = parent;
@@ -3355,9 +3355,9 @@
/**
* Change the order of this node in its parent's children list so that
it
- * will draw before the given sibling node.
+ * will draw in front of the specified sibling node.
*
- * @param sibling sibling in front of which this nodes should be moved.
+ * @param sibling sibling to move in front of
*/
public void moveInFrontOf(final PNode sibling) {
final PNode p = parent;
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en