net.xoetrope.xui.data
Interface XRowSelector

All Known Implementing Classes:
DatabaseTableModel, XCollectionTableModel, XEditTable, XTable, XTable, XTable, XTable, XTable, XTable2

public interface XRowSelector

An interface for getting and setting a row selection index

Copyright (c) Xoetrope Ltd., 2002-2004

$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)