| 1 |  |  | 
            
  
    | 2 |  |  | 
            
  
    | 3 |  |  | 
            
  
    | 4 |  |  | 
            
  
    | 5 |  |  | 
            
  
    | 6 |  |  | 
            
  
    | 7 |  |  | 
            
  
    | 8 |  |  | 
            
  
    | 9 |  |  | 
            
  
    | 10 |  |  | 
            
  
    | 11 |  |  | 
            
  
    | 12 |  |  | 
            
  
    | 13 |  |  | 
            
  
    | 14 |  |  | 
            
  
    | 15 |  |  | 
            
  
    | 16 |  | package org.kuali.student.common.ui.client.widgets; | 
            
  
    | 17 |  |  | 
            
  
    | 18 |  | import com.google.gwt.user.client.ui.Composite; | 
            
  
    | 19 |  | import com.google.gwt.user.client.ui.HorizontalPanel; | 
            
  
    | 20 |  | import com.google.gwt.user.client.ui.Label; | 
            
  
    | 21 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 10 (10) | Complexity: 3 | Complexity Density: 0.43 |  | 
  
  
    | 22 |  | public class KSThinTitleBar extends Composite{ | 
            
  
    | 23 |  | private final HorizontalPanel titlePanel = new HorizontalPanel(); | 
            
  
    | 24 |  | private Label titleLabel = new Label(); | 
            
  
    | 25 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 5 (5) | Complexity: 1 | Complexity Density: 0.2 |  | 
  
  
    | 26 | 0 |  public KSThinTitleBar(String text){... | 
            
  
    | 27 | 0 | titlePanel.setHorizontalAlignment(HorizontalPanel.ALIGN_CENTER); | 
            
  
    | 28 | 0 | titleLabel = new Label(text, false); | 
            
  
    | 29 | 0 | titlePanel.add(titleLabel); | 
            
  
    | 30 | 0 | titlePanel.addStyleName("KS-Popup-Header"); | 
            
  
    | 31 | 0 | this.initWidget(titlePanel); | 
            
  
    | 32 |  | } | 
            
  
    | 33 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 34 | 0 |  public void setTitle(String text){... | 
            
  
    | 35 | 0 | titleLabel.setText(text); | 
            
  
    | 36 |  | } | 
            
  
    | 37 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 38 | 0 |  public String getTitle(){... | 
            
  
    | 39 | 0 | return titleLabel.getText(); | 
            
  
    | 40 |  | } | 
            
  
    | 41 |  | } |