org.argouml.model
Class AttributeChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.beans.PropertyChangeEvent
          extended by org.argouml.model.UmlChangeEvent
              extended by org.argouml.model.AttributeChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class AttributeChangeEvent
extends UmlChangeEvent

A change event due to change in an attribute of a model element (eg the name of a model element has changed).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AttributeChangeEvent(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue, java.util.EventObject originalEvent)
          Constructor.
 
Method Summary
 
Methods inherited from class org.argouml.model.UmlChangeEvent
getOriginalEvent, toString
 
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeChangeEvent

public AttributeChangeEvent(java.lang.Object source,
                            java.lang.String propertyName,
                            java.lang.Object oldValue,
                            java.lang.Object newValue,
                            java.util.EventObject originalEvent)
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.
originalEvent - The event that was fired internally in the Model subsystem that caused this.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook