01: package net.xoetrope.xui.data;
02:
03: /**
04: * An interface for getting and setting a row selection index
05: * <p> Copyright (c) Xoetrope Ltd., 2002-2004</p>
06: * <p> $Revision: 1.1 $</p>
07: * <p> License: see License.txt</p>
08: */
09: public interface XRowSelector {
10: /**
11: * Set the row selection index
12: * @param rowIdx the new row selection index (zero based)
13: */
14: public void setSelectedRow(int rowIdx);
15:
16: /**
17: * Get the row selection index
18: * @return the current row selection index (zero based)
19: */
20: public int getSelectedRow();
21: }
|