2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_Timer__
5 #define __javax_swing_Timer__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
33 class EventListenerList;
39 class javax::swing::Timer : public ::java::lang::Object
43 Timer(jint, ::java::awt::event::ActionListener *);
44 virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
45 virtual void setCoalesce(jboolean);
46 virtual jboolean isCoalesce();
47 virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
48 static void setLogTimers(jboolean);
49 static jboolean getLogTimers();
50 virtual void setDelay(jint);
51 virtual jint getDelay();
52 virtual void setInitialDelay(jint);
53 virtual jint getInitialDelay();
54 virtual void setRepeats(jboolean);
55 virtual jboolean isRepeats();
56 virtual jboolean isRunning();
57 virtual void addActionListener(::java::awt::event::ActionListener *);
58 virtual void removeActionListener(::java::awt::event::ActionListener *);
59 virtual void restart();
62 public: // actually protected
63 virtual void fireActionPerformed(::java::awt::event::ActionEvent *);
64 public: // actually package-private
65 virtual void fireActionPerformed();
66 virtual void drainEvents();
67 virtual void queueEvent();
69 static const jlong serialVersionUID = -1116180831621385484LL;
70 ::java::lang::Runnable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) drainer;
71 static ::java::util::Timer * timer;
72 public: // actually package-private
73 static jboolean logTimers;
74 public: // actually protected
75 ::javax::swing::event::EventListenerList * listenerList;
76 public: // actually package-private
82 ::javax::swing::Timer$Task * task;
85 ::java::lang::Object * queueLock;
87 static ::java::lang::Class class$;
90 #endif // __javax_swing_Timer__