home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161a.iso / handson / files / copyjava.exe / com / sun / java / swing / Timer$TimerEvent.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-02-26  |  880 b   |  37 lines

  1. package com.sun.java.swing;
  2.  
  3. import java.awt.AWTEvent;
  4.  
  5. class Timer$TimerEvent extends AWTEvent {
  6.    // $FF: synthetic field
  7.    private final Timer this$0;
  8.    boolean isCanceled;
  9.  
  10.    Timer$TimerEvent(Timer var1, Object var2, int var3) {
  11.       super(var2, var3);
  12.       this.this$0 = var1;
  13.       this.this$0 = var1;
  14.       this.isCanceled = false;
  15.    }
  16.  
  17.    synchronized boolean isCanceled() {
  18.       return this.isCanceled;
  19.    }
  20.  
  21.    synchronized void setIsCanceled(boolean var1) {
  22.       this.isCanceled = var1;
  23.    }
  24.  
  25.    void haveBeenDequeued() {
  26.       Timer var1 = this.this$0;
  27.       synchronized(var1){}
  28.  
  29.       try {
  30.          this.this$0.queuedEvent = null;
  31.       } catch (Throwable var3) {
  32.          throw var3;
  33.       }
  34.  
  35.    }
  36. }
  37.