borland Packages  Class Hierarchy  dx.dataset Package 

DataChangeListener interface

java.util.EventListener
   +----com.borland.dx.dataset.DataChangeListener

About the DataChangeListener interface

Methods  

Implemented by DataChangeAdapter

This interface is used to notify listeners that data has been changed or a row has been posted. Not for general usage, this interface is useful for component writers.

Developers of database applications should use the ColumnChangeListener for field-level validation and EditListener for row-level validation instead. These listeners give you a finer distinction among types of changes to data, access to data values, and the ability to block actions by throwing VetoExceptions.


DataChangeListener methods

Methods defined in this interface


DataChangeListener methods

dataChanged(com.borland.dx.dataset.DataChangeEvent)

  public void dataChanged(DataChangeEvent event)
An event to warn listeners that an arbitrary data change occurred to one or more rows of data.

Parameters:

event
An object telling what type of change was made, and to which row.

postRow(com.borland.dx.dataset.DataChangeEvent)

  public void postRow(DataChangeEvent event)
An event to warn listeners that a row's data has changed and must be posted.

Parameters:

event
An object telling what type of change was made, and to which row.