public class DeleteAdapter extends java.lang.Object implements IDeleteHandler
IDeleteHandler interface.
Classes that wish to deal with delete events from the CompositeTable can extend this class and override only the methods which they are interested in.
IDeleteHandler| Constructor and Description |
|---|
DeleteAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDelete(int rowInCollection)
Method canDelete.
|
void |
deleteRow(int rowInCollection)
Method deleteRow.
|
void |
rowDeleted(int rowInCollection)
Method rowDeleted.
|
public boolean canDelete(int rowInCollection)
canDelete in interface IDeleteHandlerrowInCollection - The row under consideration for deletion.public void deleteRow(int rowInCollection)
deleteRow in interface IDeleteHandlerrowInCollection - The row in the collection to delete (0-based).public void rowDeleted(int rowInCollection)
rowDeleted in interface IDeleteHandlerrowInCollection - The row in the collection that was deleted (0-based).