PropertyChangeEvent.h

Go to the documentation of this file.
00001 #ifndef JAVA_UTIL_PROPERTYCHANGEEVENT_H
00002 #define JAVA_UTIL_PROPERTYCHANGEEVENT_H 1
00003 
00004 #ifndef JAVA_UTIL_EVENTOBJECT_H
00005 #include <java_util/EventObject.h>
00006 #endif /* JAVA_UTIL_EVENTOBJECT_H */
00007 
00008 namespace java {
00009   namespace util {
00010 
00028     class JAVA_UTIL_SPEC PropertyChangeEvent : virtual public EventObject {
00029 
00030     public:
00031 
00041       PropertyChangeEvent
00042         (const ObjectRef& source = 0, 
00043          const String& propertyName = nilString, 
00044          const ObjectRef& oldValue = 0, 
00045          const ObjectRef& newValue = 0);
00046 
00053       virtual String getPropertyName() const;
00054 
00061       virtual ObjectRef getNewValue() const;
00062 
00069       virtual ObjectRef getOldValue() const;
00070 
00076       virtual void setPropagationId(const ObjectRef& propagationId);
00077 
00088       virtual ObjectRef getPropagationId() const;
00089 
00090     private:
00091 
00096       String propertyName;
00097 
00102       ObjectRef oldValue;
00103 
00108       ObjectRef newValue;
00109 
00115       ObjectRef propagationId;
00116 
00117       REGISTER_MEMBERS;
00118 
00119     };
00120 
00121   } // namespace util
00122 } // namespace java
00123 
00124 #endif /* JAVA_UTIL_PROPERTYCHANGEEVENT_H */
00125 

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3