View Javadoc

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   public class SummaryTableBlock {
9       private String title = "";
10      private List<SummaryTableRow> sectionRowList = new ArrayList<SummaryTableRow>();
11      private ClickHandler editEventHandler;
12      
13  
14      public void addEditingHandler(ClickHandler clickHandler){
15          this.editEventHandler = clickHandler;
16      }
17      public ClickHandler getEditingHandler(){
18          return editEventHandler;
19      }
20      
21      public List<SummaryTableRow> getSectionRowList(){
22          return sectionRowList;
23      }
24  
25      protected void add(SummaryTableRow aRow){
26          sectionRowList.add(aRow);
27      }
28      public void clear(){
29          sectionRowList.clear();
30      }
31      public String getTitle() {
32          return title;
33      }
34  
35      public void setTitle(String title) {
36          this.title = title;
37      }
38      
39      
40  }