GoogleCodeArchive / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

Bad javadoc for PNode.moveToFront(), PNode.moveToBack(), PNode.moveInFrontOf(PNode) and PNode.moveInBackOf(PNode) #165

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The javadoc descriptions for PNode.moveToFront(), PNode.moveToBack(),
PNode.moveInFrontOf(PNode) and PNode.moveInBackOf(PNode) are misleading or
wrong.

They should read

Change the order of this node in its parent's children list so that it will
draw behind the specified sibling node.

void moveInBackOf(PNode sibling)

Change the order of this node in its parent's children list so that it will
draw in front of the specified sibling node.

void moveInFrontOf(PNode sibling)

Change the order of this node in its parent's children list so that it will
draw behind all of its other sibling nodes.

void moveToBack()

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.

void moveToFront()

Original issue reported on code.google.com by heue...@gmail.com on 26 Feb 2010 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 26 Feb 2010 at 9:53

GoogleCodeExporter commented 9 years ago
Oops, trying out the new svn commit message to issue tracker integration 
feature and
put the wrong issue number in the commit message, should have been issue 165.

$ svn commit -m "Issue 166 ; improved javadoc comments for moveToFront and 
related. 
Fixes issue 166." .
Sending        core/src/main/java/edu/umd/cs/piccolo/PNode.java
Transmitting file data .
Committed revision 974.

Original comment by heue...@gmail.com on 26 Feb 2010 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 3 Mar 2010 at 3:12