public Object getValueAt(int rowIndex, int columnIndex) { if (timeList != null) { if (rowIndex < timeList.size()) { JCTimeObject ctObj = (JCTimeObject) timeList.get(rowIndex); if (columnIndex == 0) { return ctObj.toString(); } } } return null; }
public void setValueAt(Object aValue, int rowIndex, int columnIndex) { if (timeList != null) { if (rowIndex < timeList.size()) timeList.setElementAt(aValue, rowIndex); else timeList.add(aValue); } }
public int getRowCount() { if (timeList != null) return timeList.size(); return 0; }