1 7 8 package java.beans; 9 10 27 28 public class PropertyChangeEvent extends java.util.EventObject { 29 30 39 public PropertyChangeEvent(Object source, String propertyName, 40 Object oldValue, Object newValue) { 41 super(source); 42 this.propertyName = propertyName; 43 this.newValue = newValue; 44 this.oldValue = oldValue; 45 } 46 47 53 public String getPropertyName() { 54 return propertyName; 55 } 56 57 63 public Object getNewValue() { 64 return newValue; 65 } 66 67 73 public Object getOldValue() { 74 return oldValue; 75 } 76 77 82 public void setPropagationId(Object propagationId) { 83 this.propagationId = propagationId; 84 } 85 86 96 public Object getPropagationId() { 97 return propagationId; 98 } 99 100 104 private String propertyName; 105 106 110 private Object newValue; 111 112 116 private Object oldValue; 117 118 123 private Object propagationId; 124 } 125 | Popular Tags |