Class TableValueChangeEvent

java.lang.Object
org.adempiere.webui.event.ValueChangeEvent
org.adempiere.webui.event.TableValueChangeEvent

public class TableValueChangeEvent extends ValueChangeEvent
An event encapsulating a value change in a Table.
The event details the object that changed, it's position in the table and the changed value.
Author:
Andrew Kimball
  • Constructor Details

    • TableValueChangeEvent

      public TableValueChangeEvent(Object source, String propertyName, int row, int column, Object oldValue, Object newValue)
      Constructor for the event.
      Parameters:
      source - Source of event
      propertyName - Column name
      row - Row index
      column - Column index
      oldValue - The old value of the object
      newValue - The new value of the object (often just a copy of the new value)
  • Method Details

    • getColumn

      public int getColumn()
      Get the column index for the changed value
      Returns:
      the index of the column at which the change occurred
    • getRow

      public int getRow()
      Get the row index for the changed value
      Returns:
      the index of the row at which the change occurred