com.sas.table
Interface DeleteRowInterface

All Known Implementing Classes:
JDBCToTableModelAdapter, SortableTableModelAdapter, TableModelAdapter

public interface DeleteRowInterface

Interface for deleting row(s) from a table.


Method Summary
 void deleteRow(int index)
          Deletes a row.
 boolean isRowDeletionAllowed()
          Indicates whether rows can be deleted.
 

Method Detail

deleteRow

void deleteRow(int index)
               throws com.sas.util.UncheckedException
Deletes a row. The row is identified by the given index.

Some implementations may not allow rows to be deleted. This can be determined through isRowDeletionAllowed().

Parameters:
index - A zero-based index that identifies the row.
Throws:
com.sas.util.UncheckedException - Provides a catch-all for all Exceptions.

isRowDeletionAllowed

boolean isRowDeletionAllowed()
Indicates whether rows can be deleted.

Returns:
true if rows can be deleted, false otherwise.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.