home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / CH6R5G (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  1.1 KB  |  38 lines

  1. package java.beans;
  2.  
  3. import java.util.EventObject;
  4.  
  5. public class PropertyChangeEvent extends EventObject {
  6.    private String propertyName;
  7.    private Object newValue;
  8.    private Object oldValue;
  9.    private Object propagationId;
  10.  
  11.    public PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue) {
  12.       super(source);
  13.       this.propertyName = propertyName;
  14.       this.newValue = newValue;
  15.       this.oldValue = oldValue;
  16.    }
  17.  
  18.    public Object getNewValue() {
  19.       return this.newValue;
  20.    }
  21.  
  22.    public Object getOldValue() {
  23.       return this.oldValue;
  24.    }
  25.  
  26.    public Object getPropagationId() {
  27.       return this.propagationId;
  28.    }
  29.  
  30.    public String getPropertyName() {
  31.       return this.propertyName;
  32.    }
  33.  
  34.    public void setPropagationId(Object propagationId) {
  35.       this.propagationId = propagationId;
  36.    }
  37. }
  38.