Class SmartPropertyChangeEvent
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
com.nomagic.uml2.ext.jmi.smartlistener.SmartPropertyChangeEvent
- All Implemented Interfaces:
Serializable
Property change event which will be fired by SmartPropertyChangeListener.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSmartPropertyChangeEvent
(PropertyChangeEvent event, Element topSource) Creates and initializes a newSmartPropertyChangeEvent
object from specified parameters.SmartPropertyChangeEvent
(Object source, String propertyName, Object oldValue, Object newValue, Element topSource) Creates and initializes a newSmartPropertyChangeEvent
object from specified parameters. -
Method Summary
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
SmartPropertyChangeEvent
Creates and initializes a newSmartPropertyChangeEvent
object from specified parameters. All properties of the specified event will be copied into new instance properties.- Parameters:
event
-PropertyChangeEvent
object.topSource
- top source of the event.
-
SmartPropertyChangeEvent
public SmartPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, Element topSource) Creates and initializes a newSmartPropertyChangeEvent
object from specified parameters.- Parameters:
source
- source of the event.propertyName
- a name of the property.oldValue
- old value.newValue
- new value.topSource
- top source of the event.
-
-
Method Details
-
getTopSource
Returns a top source of the event.- Returns:
- top source.
-