public final class PropertyChangeUtils extends Object
PropertyChangeEvent
s.Modifier and Type | Method and Description |
---|---|
static void |
firePropertyChange(PropertyChangeSupport propertyChangeSupport,
String propertyName,
double oldValue,
double newValue)
Notifies all listeners registered in the provided
PropertyChangeSupport that the provided double property
changed (only if the newValue is not equal to the oldValue). |
public static void firePropertyChange(PropertyChangeSupport propertyChangeSupport, String propertyName, double oldValue, double newValue)
PropertyChangeSupport
that the provided double property
changed (only if the newValue is not equal to the oldValue).propertyChangeSupport
- a PropertyChangeSupportpropertyName
- the name of the propertyoldValue
- the old value of the propertynewValue
- the new value of the propertyPropertyChangeSupport.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
Copyright © 2002–2016 SoftSmithy. All rights reserved.