Package pulse.util

Class PropertyEvent

    • Constructor Detail

      • PropertyEvent

        public PropertyEvent​(Object source,
                             PropertyHolder propertyHolder,
                             Property property)
        Constructs an event that has happened because of source, resulting in an action taken on the property.
        Parameters:
        source - the originator of the event
        property - the object of the event
    • Method Detail

      • getSource

        public Object getSource()
        Gets the 'source', which is an Object that is the originator of this event.
        Returns:
      • getProperty

        public Property getProperty()
        Gets the property, which is related to this event.
        Returns:
        the related property.