Class PropertyChangeEvent

java.lang.Object
de.aristaflow.adept2.core.updatemanager.PropertyChangeEvent

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

    • 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 Details

    • getProperty

      public Object getProperty()
      Get the property that changed
      Returns:
      the property
      See Also:
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object