@Test(expected = IllegalArgumentException.class) public void rowBadColumn() { tm = new TableModel(FOO, BAR); tm.addRow().cell(ZOO, 2); }
public Row addRow() { Row r = new Row(); rows.add(r); return r; }
TableModel { public Row addRow() { Row r = new Row(); rows.add(r); return r; } }
TableModel { public Row addRow() { Row r = new Row(); rows.add(r); return r; } TableModel(String... columnIds); }
TableModel { public Row addRow() { Row r = new Row(); rows.add(r); return r; } TableModel(String... columnIds); int rowCount(); int columnCount(); String[] getColumnIds(); Row[] getRows(); void addAnnotation(String key, Object value); Collection<Annot> getAnnotations(); void setComparator(String columnId, CellComparator comparator); void setFormatter(String columnId, CellFormatter formatter); CellFormatter getFormatter(String columnId); Row addRow(); void sort(String id1, SortDir dir1, String id2, SortDir dir2); static SortDir sortDir(String s); }
TableModel { public Row addRow() { Row r = new Row(); rows.add(r); return r; } TableModel(String... columnIds); int rowCount(); int columnCount(); String[] getColumnIds(); Row[] getRows(); void addAnnotation(String key, Object value); Collection<Annot> getAnnotations(); void setComparator(String columnId, CellComparator comparator); void setFormatter(String columnId, CellFormatter formatter); CellFormatter getFormatter(String columnId); Row addRow(); void sort(String id1, SortDir dir1, String id2, SortDir dir2); static SortDir sortDir(String s);  }