OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / javax / swing / event / EventListenerList.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __javax_swing_event_EventListenerList__
5 #define __javax_swing_event_EventListenerList__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace javax
15   {
16     namespace swing
17     {
18       namespace event
19       {
20           class EventListenerList;
21       }
22     }
23   }
24 }
25
26 class javax::swing::event::EventListenerList : public ::java::lang::Object
27 {
28
29 public:
30   EventListenerList();
31   virtual void add(::java::lang::Class *, ::java::util::EventListener *);
32   virtual jint getListenerCount();
33   virtual jint getListenerCount(::java::lang::Class *);
34   virtual JArray< ::java::lang::Object * > * getListenerList();
35   virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
36   virtual void remove(::java::lang::Class *, ::java::util::EventListener *);
37   virtual ::java::lang::String * toString();
38 private:
39   void writeObject(::java::io::ObjectOutputStream *);
40   void readObject(::java::io::ObjectInputStream *);
41 public: // actually package-private
42   static const jlong serialVersionUID = -5677132037850737084LL;
43 private:
44   static JArray< ::java::lang::Object * > * NO_LISTENERS;
45 public: // actually protected
46   JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
47 public:
48   static ::java::lang::Class class$;
49 };
50
51 #endif // __javax_swing_event_EventListenerList__