/** * Notify all listeners that the given property has changed. * * @param source the object on which a property has changed * @param property identifier of the property that has changed * @param oldValue the old value of the property, or <code>null</code> * @param newValue the new value of the property, or <code>null</code> */ public void firePropertyChange(Object source, String property, Object oldValue, Object newValue) { if (fListeners == null) { return; } PropertyNotifier notifier = new PropertyNotifier(); notifier.notify(new PropertyChangeEvent(source, property, oldValue, newValue)); }
/** * Notify all listeners that the given property has changed. * * @param source the object on which a property has changed * @param property identifier of the property that has changed * @param oldValue the old value of the property, or <code>null</code> * @param newValue the new value of the property, or <code>null</code> */ public void firePropertyChange(Object source, String property, Object oldValue, Object newValue) { if (fListeners == null) { return; } PropertyNotifier notifier = new PropertyNotifier(); notifier.notify(new PropertyChangeEvent(source, property, oldValue, newValue)); }