Class ValueChangeEvent

java.lang.Object
org.adempiere.webui.event.ValueChangeEvent
Direct Known Subclasses:
TableValueChangeEvent

public class ValueChangeEvent extends Object
Value change event for a named property.
Version:
$Revision: 0.10 $
Author:
Ashley G Ramdass
  • Field Details

    • source

      protected Object source
      The object on which the Event initially occurred.
  • Constructor Details

    • ValueChangeEvent

      public ValueChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)
      Parameters:
      source -
      propertyName -
      oldValue -
      newValue -
  • Method Details

    • getNewValue

      public Object getNewValue()
      Returns:
      new value
    • getOldValue

      public Object getOldValue()
      Returns:
      old/previous value
    • getPropertyName

      public String getPropertyName()
      Returns:
      property name
    • getSource

      public Object getSource()
    • isInitEdit

      public boolean isInitEdit()
      Returns:
      indicate this event is by user start edit this field but not yet complete edit
    • setIsInitEdit

      public void setIsInitEdit(boolean isInitEdit)
      Parameters:
      isInitEdit - indicate this event is by user start edit this field but not yet complete edit