@Override
	public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
		Event row = eventList.get(rowIndex);
		if (0 == columnIndex) {
			row.setName((String) aValue);
		} else if (1 == columnIndex) {
			int duration = (Integer) aValue;
			row.setDuration(duration);
		} else if (2 == columnIndex) {
			row.setStartDate((Date) aValue);
		} else if (3 == columnIndex) {
			row.setEndDate((Date) aValue);
		} else if (4 == columnIndex){
			row.setType((String) aValue);
		} else if (5 == columnIndex){
			row.setDescription((String) aValue);
		}
		 fireTableCellUpdated(rowIndex, columnIndex);
	}