org.joda.property
Class PropertyValueChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.PropertyChangeEvent
|
+--org.joda.property.PropertyValueChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ListPropertyChangeEvent
- public class PropertyValueChangeEvent
- extends java.beans.PropertyChangeEvent
PropertyValueChangeEvent is the event object sent when the value
of a property is changed.
- Author:
- Stephen Colebourne
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.beans.PropertyChangeEvent |
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyValueChangeEvent
protected PropertyValueChangeEvent(Property source,
java.lang.Object oldValue,
java.lang.Object newValue)
- Constructor.
- Parameters:
source
- the property that fired the eventoldValue
- the old value of the propertynewValue
- the new value of the property
createValueChangedEvent
public static PropertyValueChangeEvent createValueChangedEvent(Property source,
java.lang.Object oldValue,
java.lang.Object newValue)
- Static factory constructor.
- Parameters:
source
- the property that fired the eventoldValue
- the old value of the propertynewValue
- the new value of the property
getBean
public Bean getBean()
- Get the bean which changed.
- Returns:
- the changed bean
getProperty
public Property getProperty()
- Get the property which changed.
- Returns:
- the changed property
Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.