borland Packages Class Hierarchy jbcl.dataset Package Index
java.util.EventListener +----borland.jbcl.dataset.CalcFieldsListener
Methods
This class is used for notification that a row that contains a calculated column has been added to a DataSet, or that a row that contains a calculated column in a DataSet has been modified. When the notification is received, the listener can initiate a recalculation of that row. This listener has to be added manually using the calcFields event in the Inspector when any column in the data set is marked with a calcType of calcType.aggregate.
This class differs from the CalcAggFieldsListener in that this class is used to do calculations on rows. The CalcAggFieldsListener class is used for calculations on aggregates.
public void calcFields(borland.jbcl.dataset.ReadRow changedRow, borland.jbcl.dataset.DataRow calcRow, boolean isPosted)Called whenever a field value is modified or added in the listener's data set. The isPosted parameter indicates that the row is being posted. You may not want to recalculate fields on rows that are not yet posted.
Parameters: