Package org.adempiere.webui.event
Class TableValueChangeEvent
java.lang.Object
org.adempiere.webui.event.ValueChangeEvent
org.adempiere.webui.event.TableValueChangeEvent
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.
The event details the object that changed, it's position in the table and the changed value.
- Author:
- Andrew Kimball
-
Field Summary
Fields inherited from class org.adempiere.webui.event.ValueChangeEvent
source
-
Constructor Summary
ConstructorDescriptionTableValueChangeEvent
(Object source, String propertyName, int row, int column, Object oldValue, Object newValue) Constructor for the event. -
Method Summary
Methods inherited from class org.adempiere.webui.event.ValueChangeEvent
getNewValue, getOldValue, getPropertyName, getSource, isInitEdit, setIsInitEdit
-
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 eventpropertyName
- Column namerow
- Row indexcolumn
- Column indexoldValue
- The old value of the objectnewValue
- 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
-