borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.dataset

DataChangeListener interface

java.util.EventListener
   +----borland.jbcl.dataset.DataChangeListener

About the DataChangeListener interface

Methods  

Implemented by ChoiceControl, FieldControl, GridControl, ImageControl, LabelControl, ListControl, LocatorControl, TextAreaControl, TextFieldControl, DataChangeAdapter, MatrixDataSetManager, SingletonDataSetManager, VectorDataSetManager

Useful notification to component writers that data has been changed or a row has been posted. Not for general usage.

Database developers should use 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(borland.jbcl.dataset.DataChangeEvent)

  public void dataChanged(borland.jbcl.dataset.DataChangeEvent event)
This is an event to warn listeners about an arbitrary data change to one or more rows.

Parameters:

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

postRow(borland.jbcl.dataset.DataChangeEvent)

  public void postRow(borland.jbcl.dataset.DataChangeEvent event)
This is an event to warn listeners when a row where data has changed must be posted.

Parameters:

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