borland Packages Class Hierarchy dx.dataset Package
java.util.EventListener +----com.borland.dx.dataset.DataChangeListener
Methods
Implemented by DBButtonDataBinder, DBColumnAwareSupport, DBEventMonitor, DBLabelDataBinder, DBLabelSupport, DBListDataBinder, DBListModel, DBSliderDataBinder, DBTableModel, DBTextDataBinder, DBTreeDataBinder, DBTreeNavBinder, JdbComboBox, JdbList, JdbStatusLabel, JdbTable, 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
.
See com.borland.dbswing source code for usage examples.
public void dataChanged(DataChangeEvent event)An event to warn listeners that an arbitrary data change occurred to one or more rows of data.
event
public void postRow(DataChangeEvent event)An event to warn listeners that a row's data has changed and must be posted.
event