Class SmartPropertyChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- java.beans.PropertyChangeEvent
-
- com.nomagic.uml2.ext.jmi.smartlistener.SmartPropertyChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
@OpenApiAll public class SmartPropertyChangeEvent extends java.beans.PropertyChangeEvent
Property change event which will be fired by SmartPropertyChangeListener.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SmartPropertyChangeEvent(java.beans.PropertyChangeEvent event, Element topSource)
Creates and initializes a newSmartPropertyChangeEvent
object from specified parameters.SmartPropertyChangeEvent(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue, Element topSource)
Creates and initializes a newSmartPropertyChangeEvent
object from specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
getTopSource()
Returns a top source of the event.
-
-
-
Constructor Detail
-
SmartPropertyChangeEvent
public SmartPropertyChangeEvent(java.beans.PropertyChangeEvent event, Element topSource)
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(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.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 Detail
-
getTopSource
public Element getTopSource()
Returns a top source of the event.- Returns:
- top source.
-
-