Class SmartPropertyChangeEvent

java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
com.nomagic.uml2.ext.jmi.smartlistener.SmartPropertyChangeEvent
All Implemented Interfaces:
Serializable

@OpenApiAll public class SmartPropertyChangeEvent extends PropertyChangeEvent
Property change event which will be fired by SmartPropertyChangeListener.
See Also:
  • Constructor Details

    • SmartPropertyChangeEvent

      public SmartPropertyChangeEvent(PropertyChangeEvent event, Element topSource)
      Creates and initializes a new SmartPropertyChangeEvent 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 new SmartPropertyChangeEvent 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

      public Element getTopSource()
      Returns a top source of the event.
      Returns:
      top source.