Class PropertyChangeEvent


  • public class PropertyChangeEvent
    extends Object
    Class to store event information
    • Constructor Detail

      • PropertyChangeEvent

        public PropertyChangeEvent​(Object source,
                                   Object property)
        TODO JavaDoc
        Parameters:
        source -
        property -
      • PropertyChangeEvent

        public PropertyChangeEvent​(Object source,
                                   Object property,
                                   Object oldValue,
                                   Object newValue)
        TODO JavaDoc
        Parameters:
        source -
        property -
        oldValue -
        newValue -
    • Method Detail

      • getSource

        public Object getSource()
        Get the Object that changed
        Returns:
        the object
      • getOldValue

        public Object getOldValue()
        Get the old value, if available
        Returns:
        the previous value, or null
      • getNewValue

        public Object getNewValue()
        Get the new value, if available
        Returns:
        the current value, or null