public class InsertDeleteEvent extends RowEvent
RowSetIterator to inform its listeners when a row is modified, added, or deleted.RowSetIterator, Serialized Form| Constructor and Description |
|---|
InsertDeleteEvent(NavigatableRowIterator source, Row row, int rowIndex, int rowCountBefore, int rowCount)
Creates an event for a row being inserted or deleted.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRowCountInRange()
Reports the range's resulting row count.
|
int |
getRowCountInRangeBefore()
Reports the range's orignial row count.
|
java.lang.String |
toString(java.lang.String className)
Internal: For debugging only.
|
getRow, getRowIndexpublic InsertDeleteEvent(NavigatableRowIterator source, Row row, int rowIndex, int rowCountBefore, int rowCount)
source - the iterator that generated this event.row - the row object that was inserted or deleted.rowIndex - the range index of the row that was inserted or deleted.rowCountBefore - the initial number of rows.rowCount - the resulting number of rows.public final int getRowCountInRangeBefore()
public final int getRowCountInRange()