home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / javax / swing / Timer$DoPostEvent.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  1.2 KB  |  32 lines

  1. package javax.swing;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import java.io.Serializable;
  5.  
  6. class Timer$DoPostEvent implements Runnable, Serializable {
  7.    // $FF: synthetic field
  8.    final Timer this$0;
  9.  
  10.    Timer$DoPostEvent(Timer var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    public void run() {
  15.       if (Timer.access$000()) {
  16.          System.out.println("Timer ringing: " + this.this$0);
  17.       }
  18.  
  19.       if (Timer.access$100(this.this$0)) {
  20.          this.this$0.fireActionPerformed(new ActionEvent(this.this$0, 0, this.this$0.getActionCommand(), System.currentTimeMillis(), 0));
  21.          if (this.this$0.coalesce) {
  22.             this.this$0.cancelEvent();
  23.          }
  24.       }
  25.  
  26.    }
  27.  
  28.    Timer getTimer() {
  29.       return this.this$0;
  30.    }
  31. }
  32.