com.objex.panywhere
Class IndividualAddEvent
java.lang.Object
java.util.EventObject
com.objex.panywhere.IndividualAddEvent
- All Implemented Interfaces:
- java.io.Serializable
public class IndividualAddEvent
- extends java.util.EventObject
An event which is generated every time an Individual is added to the Pedigree. To rgeister for the individual add event, use ProgenyAnywhere.addIndividualAddListener() method.
- 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 |
IndividualAddEvent
public IndividualAddEvent(java.lang.Object source,
Individual a_added_individual,
Individual a_toindividual)
- Creates a new instance of IndividualAddEvent.
- Parameters:
source - SOurce of the event. Usually the Family objecta_added_individual - The Individual just addeda_toindividual - The Individual to whom the new person was added. This may be null if person was added unconnected
getAddedIndividual
public Individual getAddedIndividual()
- Getter for property addedIndividual.
- Returns:
- Value of property addedIndividual. AddedIndividual is the Individual whose addition to the Pedigree Family Model
resulted in the generation of this Event.
getToIndividual
public Individual getToIndividual()