org.argouml.model
Class UmlChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.beans.PropertyChangeEvent
          extended byorg.argouml.model.UmlChangeEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssociationChangeEvent, AttributeChangeEvent, DeleteInstanceEvent, InstanceChangeEvent

public abstract class UmlChangeEvent
extends PropertyChangeEvent

A change event dues to change in the model.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
UmlChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, EventObject theOriginalEvent)
          Constructor.
 
Method Summary
protected  EventObject getOriginalEvent()
           
 
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
 

Constructor Detail

UmlChangeEvent

public UmlChangeEvent(Object source,
                      String propertyName,
                      Object oldValue,
                      Object newValue,
                      EventObject theOriginalEvent)
Constructor.

Parameters:
source - The bean that fired the event.
propertyName - The programmatic name of the property that was changed.
oldValue - The old value of the property.
newValue - The new value of the property.
theOriginalEvent - The event that was fired internally in the Model subsystem that caused this.
Method Detail

getOriginalEvent

protected EventObject getOriginalEvent()
Returns:
Returns the originalEvent.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook