Adempiere 3.5.2a

org.adempiere.webui.event
Class TableValueChangeEvent

java.lang.Object
  extended by org.adempiere.webui.event.ValueChangeEvent
      extended by 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

Field Summary
 
Fields inherited from class org.adempiere.webui.event.ValueChangeEvent
source
 
Constructor Summary
TableValueChangeEvent(Object source, String propertyName, int row, int column, Object oldValue, Object newValue)
          Constructor for the event.
 
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 org.adempiere.webui.event.ValueChangeEvent
getNewValue, getOldValue, getPropertyName, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableValueChangeEvent

public TableValueChangeEvent(Object source,
                             String propertyName,
                             int row,
                             int column,
                             Object oldValue,
                             Object newValue)
Constructor for the event.

Parameters:
source - The object that changed
propertyName - The column name of the changed object
row - The row of the changed object
column - The column of the changed object
oldValue - The new value of the object
newValue - The old value of the object (often just a copy of the new value)
Method Detail

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 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.