|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CollectionOfBalls
A CollectionOfBalls provides for the management of a collection of Balls.
| Method Summary | |
|---|---|
void |
drawBalls(Graphics2D graphics,
Ball selectedBall)
Draws the Balls in this CollectionOfBall's World. |
Ball |
nearestBall(Point2D p)
Returns the Ball in this CollectionOfBall's World that is nearest the given point. |
| Method Detail |
|---|
Ball nearestBall(Point2D p)
p - the point for which to find the nearest Ball
void drawBalls(Graphics2D graphics,
Ball selectedBall)
graphics - the object onto which to drawselectedBall - the ball which has been selected (null if none)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||