/Users/lyon/j4p/src/bookExamples/ch26Graphics/carl/logPolar/TimerCycleColor.java
|
1 /*
2 * Created by IntelliJ IDEA.
3 * User: root
4 * Date: Feb 8, 2002
5 * Time: 12:34:18 PM
6 * To change template for new class use
7 * Code Style | Class Templates options (Tools | IDE Options).
8 */
9 package bookExamples.ch26Graphics.carl.logPolar;
10
11 import bookExamples.ch26Graphics.carl.logPolar.Controller;
12
13 class TimerCycleColor implements java.awt.event.ActionListener {
14 private Controller main;
15
16 public TimerCycleColor(Controller main) {
17 this.main = main;
18 }
19
20 public void actionPerformed(java.awt.event.ActionEvent e) {
21 // int t;
22 main.getLogic().cycleColor();
23 // t = myTimer.getDelay();
24 // if (t > 20) t -=10;
25 // myTimer.setDelay( t );
26 // System.out.println(myTimer.getDelay());
27 }
28 }
29