summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/event/EventListenerList.h
blob: 25209af626977864cd096fa6ed686911a3f68b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_event_EventListenerList__
#define __javax_swing_event_EventListenerList__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      namespace event
      {
          class EventListenerList;
      }
    }
  }
}

class javax::swing::event::EventListenerList : public ::java::lang::Object
{

public:
  EventListenerList();
  virtual void add(::java::lang::Class *, ::java::util::EventListener *);
  virtual jint getListenerCount();
  virtual jint getListenerCount(::java::lang::Class *);
  virtual JArray< ::java::lang::Object * > * getListenerList();
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  virtual void remove(::java::lang::Class *, ::java::util::EventListener *);
  virtual ::java::lang::String * toString();
private:
  void writeObject(::java::io::ObjectOutputStream *);
  void readObject(::java::io::ObjectInputStream *);
public: // actually package-private
  static const jlong serialVersionUID = -5677132037850737084LL;
private:
  static JArray< ::java::lang::Object * > * NO_LISTENERS;
public: // actually protected
  JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_event_EventListenerList__