summaryrefslogtreecommitdiff
path: root/libjava/java/beans/PropertyChangeSupport.h
blob: ae037a893e38c06fdf4d9e9272d756bf90aa4e48 (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
53
54
55
56
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_beans_PropertyChangeSupport__
#define __java_beans_PropertyChangeSupport__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace beans
    {
        class PropertyChangeEvent;
        class PropertyChangeListener;
        class PropertyChangeSupport;
    }
  }
}

class java::beans::PropertyChangeSupport : public ::java::lang::Object
{

public:
  PropertyChangeSupport(::java::lang::Object *);
  virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
  virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
  virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
  virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
  virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
  virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
  virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
  virtual void firePropertyChange(::java::lang::String *, jint, jint);
  virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
  virtual void firePropertyChange(::java::beans::PropertyChangeEvent *);
  virtual void fireIndexedPropertyChange(::java::lang::String *, jint, ::java::lang::Object *, ::java::lang::Object *);
  virtual void fireIndexedPropertyChange(::java::lang::String *, jint, jint, jint);
  virtual void fireIndexedPropertyChange(::java::lang::String *, jint, jboolean, jboolean);
  virtual jboolean hasListeners(::java::lang::String *);
private:
  void writeObject(::java::io::ObjectOutputStream *);
  void readObject(::java::io::ObjectInputStream *);
  static const jlong serialVersionUID = 6401253773779951803LL;
  ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) children;
  ::java::lang::Object * source;
  static const jint propertyChangeSupportSerializedDataVersion = 2;
  ::java::util::Vector * listeners;
public:
  static ::java::lang::Class class$;
};

#endif // __java_beans_PropertyChangeSupport__