org.formaria.aria.data
Interface RowSelector

All Known Implementing Classes:
CollectionTableModel, DatabaseTableModel, EditTable, Table, Table, Table, TableModelView, TreeTable

public interface RowSelector

An interface for getting and setting a row selection index

Copyright (c) Formaria Ltd., 2008

$Revision: 2.1 $

License: see License.txt


Method Summary
 int getSelectedRow()
          Get the row selection index
 void setSelectedRow(int rowIdx)
          Set the row selection index
 

Method Detail

setSelectedRow

void setSelectedRow(int rowIdx)
Set the row selection index

Parameters:
rowIdx - the new row selection index (zero based)

getSelectedRow

int getSelectedRow()
Get the row selection index

Returns:
the current row selection index (zero based)