2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_AbstractListModel__
5 #define __javax_swing_AbstractListModel__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
18 class AbstractListModel
;
21 class EventListenerList
;
22 class ListDataListener
;
28 class javax::swing::AbstractListModel
: public ::java::lang::Object
33 virtual void addListDataListener(::javax::swing::event::ListDataListener
*);
34 virtual void removeListDataListener(::javax::swing::event::ListDataListener
*);
35 public: // actually protected
36 virtual void fireContentsChanged(::java::lang::Object
*, jint
, jint
);
37 virtual void fireIntervalAdded(::java::lang::Object
*, jint
, jint
);
38 virtual void fireIntervalRemoved(::java::lang::Object
*, jint
, jint
);
40 virtual JArray
< ::java::util::EventListener
* > * getListeners(::java::lang::Class
*);
41 virtual JArray
< ::javax::swing::event::ListDataListener
* > * getListDataListeners();
42 virtual jint
getSize() = 0;
43 virtual ::java::lang::Object
* getElementAt(jint
) = 0;
45 static const jlong serialVersionUID
= -3285184064379168730LL;
46 public: // actually protected
47 ::javax::swing::event::EventListenerList
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) listenerList
;
49 static ::java::lang::Class
class$
;
52 #endif // __javax_swing_AbstractListModel__