AbstractSpinnerModel.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_AbstractSpinnerModel__
  3. #define __javax_swing_AbstractSpinnerModel__
  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 AbstractSpinnerModel;
  14. namespace event
  15. {
  16. class ChangeEvent;
  17. class ChangeListener;
  18. class EventListenerList;
  19. }
  20. }
  21. }
  22. }
  23. class javax::swing::AbstractSpinnerModel : public ::java::lang::Object
  24. {
  25. public:
  26. AbstractSpinnerModel();
  27. virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  28. virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  29. virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
  30. virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  31. public: // actually protected
  32. virtual void fireStateChanged();
  33. public:
  34. virtual void setValue(::java::lang::Object *) = 0;
  35. virtual ::java::lang::Object * getValue() = 0;
  36. virtual ::java::lang::Object * getNextValue() = 0;
  37. virtual ::java::lang::Object * getPreviousValue() = 0;
  38. private:
  39. ::javax::swing::event::ChangeEvent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) changeEvent;
  40. public: // actually protected
  41. ::javax::swing::event::EventListenerList * listenerList;
  42. public:
  43. static ::java::lang::Class class$;
  44. };
  45. #endif // __javax_swing_AbstractSpinnerModel__