Coverage Report - org.kuali.student.common.ui.client.widgets.table.summary.SummaryTableRow
 
Classes in this File Line Coverage Branch Coverage Complexity
SummaryTableRow
0%
0/32
N/A
1
 
 1  
 package org.kuali.student.common.ui.client.widgets.table.summary;
 2  
 
 3  
 import com.google.gwt.user.client.ui.Widget;
 4  
 
 5  0
 public class SummaryTableRow {
 6  0
     private boolean isRequired = false;
 7  0
     private String title ="";
 8  0
     private int contentCellCount = 1;
 9  
     private Widget cell1;
 10  
     private Widget cell2;
 11  
     private String key;
 12  
     private String titleStyle;
 13  
     private String contentStyle;
 14  0
     private boolean shown = true;
 15  
     
 16  
     public String getKey() {
 17  0
         return key;
 18  
     }
 19  
     public void setKey(String key) {
 20  0
         this.key = key;
 21  0
     }
 22  
     public boolean isRequired() {
 23  0
         return isRequired;
 24  
     }
 25  
     public void setRequired(boolean isRequired) {
 26  0
         this.isRequired = isRequired;
 27  0
     }
 28  
     public String getTitle() {
 29  0
         return title;
 30  
     }
 31  
     public void setTitle(String title) {
 32  0
         this.title = title;
 33  0
     }
 34  
     public int getContentCellCount() {
 35  0
         return contentCellCount;
 36  
     }
 37  
     public void setContentCellCount(int contentCellCount) {
 38  0
         this.contentCellCount = contentCellCount;
 39  0
     }
 40  
     public Widget getCell1() {
 41  0
         return cell1;
 42  
     }
 43  
     public void setCell1(Widget cell1) {
 44  0
         this.cell1 = cell1;
 45  0
     }
 46  
     public Widget getCell2() {
 47  0
         return cell2;
 48  
     }
 49  
     public void setCell2(Widget cell2) {
 50  0
         this.cell2 = cell2;
 51  0
     }
 52  
     
 53  
     public void addTitleCellStyleName(String style){
 54  0
             this.titleStyle = style;
 55  0
     }
 56  
     
 57  
     public String getTitleCellStyleName(){
 58  0
             return titleStyle;
 59  
     }
 60  
     
 61  
     public void addContentCellStyleName(String style){
 62  0
             this.contentStyle = style;
 63  0
     }
 64  
     
 65  
     public String getContentCellStyleName(){
 66  0
             return contentStyle;
 67  
     }
 68  
     
 69  
     /**
 70  
      * Rows that are set to not show will be set to display:none during the layout phase.
 71  
      * These flags should be reset and set again if needed during each data setup phase.
 72  
      * @param show
 73  
      */
 74  
     public void setShown(boolean show){
 75  0
             this.shown = show;
 76  0
     }
 77  
     
 78  
     // TODO Nina - Code Review - is it ok that i change to public...
 79  
     public boolean isShown(){
 80  0
             return shown;
 81  
     }
 82  
 }