Class 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
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      SmartPropertyChangeEvent​(java.beans.PropertyChangeEvent event, Element topSource)
      Creates and initializes a new SmartPropertyChangeEvent 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 new SmartPropertyChangeEvent 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.
      • Methods inherited from class java.beans.PropertyChangeEvent

        getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
      • 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

      • SmartPropertyChangeEvent

        public SmartPropertyChangeEvent​(java.beans.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​(java.lang.Object source,
                                        java.lang.String propertyName,
                                        java.lang.Object oldValue,
                                        java.lang.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 Detail

      • getTopSource

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