borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.dataset
java.util.EventListener +----borland.jbcl.dataset.RowFilterListener
MethodsThis class is used as a notification when a row is being added or updated. The RowFilterListener only controls which rows are displayed in the current view of a DataSet based on current filter criteria. The RowFilterListener does not delete rows from a data set or block any data values from being entered. If a newly inserted row contains a value that does not meet the filter criteria, it is stored in the data set, but does not show in the current view. If you need to prevent rows that do not meet the filter criteria from being stored in a DataSet, use the EditListener.adding() and updating() events.
public void filterRow(borland.jbcl.dataset.ReadRow row, borland.jbcl.dataset.RowFilterResponse response)
This method is called by JBuilder for each row as a data set is opened, and whenever a new or modified row is posted. The filterRow() method decides if the current row of the data set should be included in the view. To include it, call response.add(). To exclude it, call response.ignore(). The response.ignore() method is the default. A filterRow() method that never calls response.add() will produce an empty data set view.
Parameters: