org.adempiere.webui.event
Class TableValueChangeEvent
java.lang.Object
org.adempiere.webui.event.ValueChangeEvent
org.adempiere.webui.event.TableValueChangeEvent
public class TableValueChangeEvent
- extends ValueChangeEvent
An event encapsulating a change in a Table.
The event details the object that changed, it's position in the table
and the changed value.
- Author:
- Andrew Kimball
|
Method Summary |
int |
getColumn()
Get the column index for the changed value |
int |
getRow()
Get the row index for the changed value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableValueChangeEvent
public TableValueChangeEvent(Object source,
String propertyName,
int row,
int column,
Object oldValue,
Object newValue)
- Constructor for the event.
- Parameters:
source - The object that changedpropertyName - The column name of the changed objectrow - The row of the changed objectcolumn - The column of the changed objectoldValue - The new value of the objectnewValue - The old value of the object (often just a copy of the new value)
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
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.