com.maryanovsky.gwtutils.client.event
Class PropertyChangeEvent
java.lang.Object
java.util.EventObject
com.maryanovsky.gwtutils.client.event.PropertyChangeEvent
- All Implemented Interfaces:
- Serializable
public class PropertyChangeEvent
- extends EventObject
Encapsulates a change event in some named property.
- Author:
- Maryanovsky Alexander
- See Also:
- Serialized Form
Constructor Summary |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Creates a new PropertyChangeEvent with the specified source
object, name of the property that changed and the old and new values of
the property. |
PropertyChangeEvent
public PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
- Creates a new
PropertyChangeEvent
with the specified source
object, name of the property that changed and the old and new values of
the property.
getPropertyName
public String getPropertyName()
- Returns the name of the property that changed.
getOldValue
public Object getOldValue()
- Returns the old value of the property.
getNewValue
public Object getNewValue()
- Returns the new value of the property.