summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/Timer.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/Timer.h
downloadcbb-gcc-4.6.4-upstream.tar.bz2
cbb-gcc-4.6.4-upstream.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/Timer.h')
-rw-r--r--libjava/javax/swing/Timer.h90
1 files changed, 90 insertions, 0 deletions
diff --git a/libjava/javax/swing/Timer.h b/libjava/javax/swing/Timer.h
new file mode 100644
index 000000000..9768bdfb7
--- /dev/null
+++ b/libjava/javax/swing/Timer.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_Timer__
+#define __javax_swing_Timer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ActionEvent;
+ class ActionListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class Timer;
+ class Timer$Task;
+ namespace event
+ {
+ class EventListenerList;
+ }
+ }
+ }
+}
+
+class javax::swing::Timer : public ::java::lang::Object
+{
+
+public:
+ Timer(jint, ::java::awt::event::ActionListener *);
+ virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
+ virtual void setCoalesce(jboolean);
+ virtual jboolean isCoalesce();
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ static void setLogTimers(jboolean);
+ static jboolean getLogTimers();
+ virtual void setDelay(jint);
+ virtual jint getDelay();
+ virtual void setInitialDelay(jint);
+ virtual jint getInitialDelay();
+ virtual void setRepeats(jboolean);
+ virtual jboolean isRepeats();
+ virtual jboolean isRunning();
+ virtual void addActionListener(::java::awt::event::ActionListener *);
+ virtual void removeActionListener(::java::awt::event::ActionListener *);
+ virtual void restart();
+ virtual void start();
+ virtual void stop();
+public: // actually protected
+ virtual void fireActionPerformed(::java::awt::event::ActionEvent *);
+public: // actually package-private
+ virtual void fireActionPerformed();
+ virtual void drainEvents();
+ virtual void queueEvent();
+private:
+ static const jlong serialVersionUID = -1116180831621385484LL;
+ ::java::lang::Runnable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) drainer;
+ static ::java::util::Timer * timer;
+public: // actually package-private
+ static jboolean logTimers;
+public: // actually protected
+ ::javax::swing::event::EventListenerList * listenerList;
+public: // actually package-private
+ jboolean coalesce;
+ jboolean repeats;
+ jint delay;
+ jint initialDelay;
+ jint ticks;
+ ::javax::swing::Timer$Task * task;
+private:
+ jlong queue;
+ ::java::lang::Object * queueLock;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_Timer__