com.objex.panywhere.events
Class PedigreePropertyChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.objex.panywhere.events.PedigreePropertyChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class PedigreePropertyChangeEvent
extends java.util.EventObject

Event fired when select properties of a pedigree have been updated

See Also:
Serialized Form

Field Summary
 java.lang.Object newValue
          The new value of the property
 java.lang.Object oldValue
          The old value of the property
 PEDIGREE_PROPERTY property
          The enum that identifies the property being changed
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PedigreePropertyChangeEvent(java.lang.Object src, PEDIGREE_PROPERTY property, java.lang.Object oldValue, java.lang.Object newValue)
          Create new PedigreePropertyChangeEvent
 
Method Summary
 
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
 

Field Detail

property

public final PEDIGREE_PROPERTY property
The enum that identifies the property being changed


oldValue

public final java.lang.Object oldValue
The old value of the property


newValue

public final java.lang.Object newValue
The new value of the property

Constructor Detail

PedigreePropertyChangeEvent

public PedigreePropertyChangeEvent(java.lang.Object src,
                                   PEDIGREE_PROPERTY property,
                                   java.lang.Object oldValue,
                                   java.lang.Object newValue)
Create new PedigreePropertyChangeEvent

Parameters:
src - Source of the event. This is the pedigree
property - The property being changed as defined in PEDIGREE_PROPERTY enum
oldValue - The old value of that property before the event was fired
newValue - The new value of that property