1 | |
package org.kuali.student.common.ui.client.widgets.table.summary; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.List; |
5 | |
|
6 | |
import com.google.gwt.event.dom.client.ClickHandler; |
7 | |
|
8 | 0 | public class SummaryTableBlock { |
9 | 0 | private String title = ""; |
10 | 0 | private List<SummaryTableRow> sectionRowList = new ArrayList<SummaryTableRow>(); |
11 | |
private ClickHandler editEventHandler; |
12 | |
|
13 | |
|
14 | |
public void addEditingHandler(ClickHandler clickHandler){ |
15 | 0 | this.editEventHandler = clickHandler; |
16 | 0 | } |
17 | |
public ClickHandler getEditingHandler(){ |
18 | 0 | return editEventHandler; |
19 | |
} |
20 | |
|
21 | |
public List<SummaryTableRow> getSectionRowList(){ |
22 | 0 | return sectionRowList; |
23 | |
} |
24 | |
|
25 | |
protected void add(SummaryTableRow aRow){ |
26 | 0 | sectionRowList.add(aRow); |
27 | 0 | } |
28 | |
public void clear(){ |
29 | 0 | sectionRowList.clear(); |
30 | 0 | } |
31 | |
public String getTitle() { |
32 | 0 | return title; |
33 | |
} |
34 | |
|
35 | |
public void setTitle(String title) { |
36 | 0 | this.title = title; |
37 | 0 | } |
38 | |
|
39 | |
|
40 | |
} |