PropertyChangeSupport.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_beans_PropertyChangeSupport__
  3. #define __java_beans_PropertyChangeSupport__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace beans
  12. {
  13. class PropertyChangeEvent;
  14. class PropertyChangeListener;
  15. class PropertyChangeSupport;
  16. }
  17. }
  18. }
  19. class java::beans::PropertyChangeSupport : public ::java::lang::Object
  20. {
  21. public:
  22. PropertyChangeSupport(::java::lang::Object *);
  23. virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
  24. virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
  25. virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
  26. virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
  27. virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
  28. virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
  29. virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
  30. virtual void firePropertyChange(::java::lang::String *, jint, jint);
  31. virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
  32. virtual void firePropertyChange(::java::beans::PropertyChangeEvent *);
  33. virtual void fireIndexedPropertyChange(::java::lang::String *, jint, ::java::lang::Object *, ::java::lang::Object *);
  34. virtual void fireIndexedPropertyChange(::java::lang::String *, jint, jint, jint);
  35. virtual void fireIndexedPropertyChange(::java::lang::String *, jint, jboolean, jboolean);
  36. virtual jboolean hasListeners(::java::lang::String *);
  37. private:
  38. void writeObject(::java::io::ObjectOutputStream *);
  39. void readObject(::java::io::ObjectInputStream *);
  40. static const jlong serialVersionUID = 6401253773779951803LL;
  41. ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) children;
  42. ::java::lang::Object * source;
  43. static const jint propertyChangeSupportSerializedDataVersion = 2;
  44. ::java::util::Vector * listeners;
  45. public:
  46. static ::java::lang::Class class$;
  47. };
  48. #endif // __java_beans_PropertyChangeSupport__