summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/AbstractListModel.h
blob: 5e6eb547690b2e8c7d05164eda7641d8a600dfb7 (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
52
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_AbstractListModel__
#define __javax_swing_AbstractListModel__

#pragma interface

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

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

class javax::swing::AbstractListModel : public ::java::lang::Object
{

public:
  AbstractListModel();
  virtual void addListDataListener(::javax::swing::event::ListDataListener *);
  virtual void removeListDataListener(::javax::swing::event::ListDataListener *);
public: // actually protected
  virtual void fireContentsChanged(::java::lang::Object *, jint, jint);
  virtual void fireIntervalAdded(::java::lang::Object *, jint, jint);
  virtual void fireIntervalRemoved(::java::lang::Object *, jint, jint);
public:
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  virtual JArray< ::javax::swing::event::ListDataListener * > * getListDataListeners();
  virtual jint getSize() = 0;
  virtual ::java::lang::Object * getElementAt(jint) = 0;
private:
  static const jlong serialVersionUID = -3285184064379168730LL;
public: // actually protected
  ::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_AbstractListModel__