public Object getValueAt(int rowIndex, int columnIndex) { BONoticeBroadcast notice = (BONoticeBroadcast) control.getNoticeList().get(rowIndex); if (columnIndex == 0) { return notice.getSearchString(); } else if (columnIndex == 1) { return new Boolean(notice.isSearchEpg()); } else if (columnIndex == 2) { return new Boolean(notice.isSearchMovieGuide()); } else if (columnIndex == 3) { return new Boolean(notice.isSearchOnlyTitle()); } return new Boolean(notice.isBuildTimer()); }
public void setValueAt(Object aValue, int rowIndex, int columnIndex) { BONoticeBroadcast notice = (BONoticeBroadcast) control.getNoticeList().get(rowIndex); if (columnIndex == 0) { notice.setSearchString((String) aValue); } else if (columnIndex == 1) { notice.setSearchEpg(((Boolean) aValue).booleanValue()); } else if (columnIndex == 2) { notice.setSearchMovieGuide(((Boolean) aValue).booleanValue()); } else if (columnIndex == 3) { notice.setSearchOnlyTitle(((Boolean) aValue).booleanValue()); } else if (columnIndex == 4) { notice.setBuildTimer(((Boolean) aValue).booleanValue()); } }