Class BallFrame
- public class BallFrame
- extends JFrame
- implements ActionListener
The main display frame for the application. This class contains main().

ballAnimator
ballPanel
breatheStrategyButton
buttonPanel
clearButton
colorPulseStrategyButton
curveStrategyButton
factory
flyweight
googleStrategyButton
maxVel
newBallButton
nullStrategyButton
psychadelicStrategyButton
rand
repaintInterval
strategy

BallFrame
()

actionPerformed
(ActionEvent)
main
(String[])

rand
Randomizer rand
strategy
ControlStrategy strategy
factory
FlyweightFactory factory
newBallButton
Button newBallButton
nullStrategyButton
Button nullStrategyButton
breatheStrategyButton
Button breatheStrategyButton
curveStrategyButton
Button curveStrategyButton
googleStrategyButton
Button googleStrategyButton
colorPulseStrategyButton
Button colorPulseStrategyButton
psychadelicStrategyButton
Button psychadelicStrategyButton
clearButton
Button clearButton
maxVel
Rectangle maxVel
buttonPanel
Panel buttonPanel
ballPanel
JPanel ballPanel
repaintInterval
int repaintInterval
ballAnimator
BallAnimator ballAnimator
flyweight
BallFlyweight flyweight

BallFrame
public BallFrame()

actionPerformed
public void actionPerformed(ActionEvent e)
main
public static void main(String[] args)