com.objex.panywhere
Class DeleteEvent

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

public class DeleteEvent
extends java.util.EventObject

An event which is generated every time an Individual is deleted or removed from the Pedigree. An DeleteEvent is passed to all DeleteListerners that would have registered an interest in receiving these events using the Family Model's addDeleteListener() method.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DeleteEvent(java.lang.Object source, Individual ind)
          Creates a new instance of DeleteEvent object
 
Method Summary
 Individual getDeletedIndividual()
          Returns the the Individual who was just deleted from the Pedigree and resulted in the generation of this event.
 
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
 

Constructor Detail

DeleteEvent

public DeleteEvent(java.lang.Object source,
                   Individual ind)
Creates a new instance of DeleteEvent object

Parameters:
source - Family object is the source of all DeleteEvents
ind - The Individual whose object was deleted from the Pedigree
Method Detail

getDeletedIndividual

public Individual getDeletedIndividual()
Returns the the Individual who was just deleted from the Pedigree and resulted in the generation of this event.

Returns:
Value of property deletedIndividual.