Remove TODO file
[remote/remote-gui.git] / src / motedata / SimpleTableRow.java
blob9d56bddb4af27543d2c040c0c30a20ee0dd4c9b3
1 package diku.distlab.remote.client.motedata;
3 public class SimpleTableRow implements TableRow {
5 Table parentTable;
6 Object[] entries;
8 protected SimpleTableRow(Table parentTable, Object[] entries) {
9 super();
10 this.parentTable = parentTable;
11 this.entries = entries;
14 public Object get(int columnIndex)
16 return this.entries[columnIndex];
19 public Object get(String columnName) throws Exception
21 return this.entries[parentTable.getHeader().indexOf(columnName)];
24 public Table getTable() {
25 return this.parentTable;