getDiameter accessor), and a version of Canvas with a larger drawing area. Your SuperCircleDrawer class should contain the following methods:
addCircle method that takes a single Circle reference as its argument, and adds the circle to the collection.
drawCircles method that takes no arguments, and causes all of the circles in the collection to be drawn on the canvas.
eraseCircles method that takes no arguments, and erases all of the circles in the collection from the canvas.
moveAllHorizontal, which takes a single integer argument, and moves each circle in the collection horizontally by the specified number of pixels. (Postive arguments should cause the group to move to the right, and negative arguments move things to the left.)
moveAllVertical, which takes a single integer argument, and moves each circle in the collection vertically by the specified number of pixels. (Postive arguments should cause the group to move down, and negative arguments move things up.)
doubleAllDiameters method that takes no arguments, and causes each of the circles to double in size.
drawLargeCircles that takes no arguments and causes circles with diameters greater than 30 to be made visible.
drawLargestCircle that takes no arguments and causes only the largest circle in the collection to be drawn. In the case of a tie it doesn't matter which of the largest circles you draw, but you should only draw one.
drawLargestCircle is invoked before any circles are added to the group, for example, nothing should be drawn on the screen, but it shouldn't produce an error message from Java either.
/** ... */). For full credit, you should use the @param and @return tags as appropriate in these method comments. Each instance variable (field) should have a brief comment as well. Don't forget the main comment at the top of the class either — I'm looking for more than just a sentence or two.
addRandomCircles that takes a single integer as its argument. It should create and add the specified number of random circles to the collection. (The size and position should be random, and you could have several color options as well.) You can look at the guessing-game lab to see some random code in action, but the following statement assigns an integer value from 10 to 59 to the variable size:
size = (int)(Math.random()*50 + 10);