com.objex.panywhere.events
Class IndividualPropertyChangeEvent
java.lang.Object
java.util.EventObject
com.objex.panywhere.events.IndividualPropertyChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class IndividualPropertyChangeEvent
- extends java.util.EventObject
Event generated when Individual properties change
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| 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 |
IndividualPropertyChangeEvent
public IndividualPropertyChangeEvent(java.lang.Object src,
Individual a_individual,
INDIVIDUAL_PROPERTY property,
java.lang.Object oldValue,
java.lang.Object newValue)
- Create new instance of IndividualPropertyChangeEvent
- Parameters:
src - The source of the eventa_individual - The person for whom the property change occuredproperty - The property that changedoldValue - The old value of that property on the Individual objectnewValue - The new value to be assigned to that property on the Individual object
getProperty
public INDIVIDUAL_PROPERTY getProperty()
- Returns:
- The enum that identifies the property being changed
getOldValue
public java.lang.Object getOldValue()
- Returns:
- The old value of the property
getNewValue
public java.lang.Object getNewValue()
- Returns:
- The new value of the property
getIndividual
public Individual getIndividual()
- Returns:
- The indivdual for whom the event is being dispatched