AbstractListModel.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_AbstractListModel__
  3. #define __javax_swing_AbstractListModel__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace swing
  12. {
  13. class AbstractListModel;
  14. namespace event
  15. {
  16. class EventListenerList;
  17. class ListDataListener;
  18. }
  19. }
  20. }
  21. }
  22. class javax::swing::AbstractListModel : public ::java::lang::Object
  23. {
  24. public:
  25. AbstractListModel();
  26. virtual void addListDataListener(::javax::swing::event::ListDataListener *);
  27. virtual void removeListDataListener(::javax::swing::event::ListDataListener *);
  28. public: // actually protected
  29. virtual void fireContentsChanged(::java::lang::Object *, jint, jint);
  30. virtual void fireIntervalAdded(::java::lang::Object *, jint, jint);
  31. virtual void fireIntervalRemoved(::java::lang::Object *, jint, jint);
  32. public:
  33. virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  34. virtual JArray< ::javax::swing::event::ListDataListener * > * getListDataListeners();
  35. virtual jint getSize() = 0;
  36. virtual ::java::lang::Object * getElementAt(jint) = 0;
  37. private:
  38. static const jlong serialVersionUID = -3285184064379168730LL;
  39. public: // actually protected
  40. ::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
  41. public:
  42. static ::java::lang::Class class$;
  43. };
  44. #endif // __javax_swing_AbstractListModel__