org.argouml.model
Class AssociationChangeEvent
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
org.argouml.model.UmlChangeEvent
org.argouml.model.AssociationChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AddAssociationEvent, RemoveAssociationEvent
public class AssociationChangeEvent
- extends UmlChangeEvent
A change event due to change in an association between one model element
and another.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
AssociationChangeEvent(java.lang.Object source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue,
java.lang.Object theChangedValue,
java.util.EventObject originalEvent)
Constructor. |
| 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 |
AssociationChangeEvent
public AssociationChangeEvent(java.lang.Object source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue,
java.lang.Object theChangedValue,
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.theChangedValue - The object that was actually added or removed.
getChangedValue
public java.lang.Object getChangedValue()
- Returns:
- The changed value.