Clover Coverage Report - KS Common UI 1.2-M5-SNAPSHOT
Coverage timestamp: Mon Aug 29 2011 06:14:19 EDT
../../../../../../../img/srcFileCovDistChart0.png 4% of files have more coverage
10   81   10   1
0   41   1   10
10     1  
1    
 
  KSTabPanel       Line # 31 10 0% 10 20 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common.ui.client.widgets;
17   
18    import org.kuali.student.common.ui.client.widgets.impl.KSTabPanelImpl;
19   
20    import com.google.gwt.core.client.GWT;
21    import com.google.gwt.event.logical.shared.SelectionHandler;
22    import com.google.gwt.user.client.ui.Widget;
23   
24    /**
25    * This is a description of what this class does - Gary Struthers don't forget to fill this in.
26    *
27    * @author Kuali Student Team (gstruthers@berkeley.edu)
28    *
29    */
30    @Deprecated
 
31    public class KSTabPanel extends KSTabPanelAbstract {
32   
33    private KSTabPanelAbstract panel = GWT.create(KSTabPanelImpl.class);
34   
35    /**
36    * This constructs a ...
37    *
38    */
 
39  0 toggle public KSTabPanel() {
40  0 initWidget(panel);
41    }
42   
 
43  0 toggle public void addStyleName(String style) {
44  0 panel.addStyleName(style);
45    }
46   
 
47  0 toggle public int getTabCount() {
48  0 return panel.getTabCount();
49    }
50   
 
51  0 toggle public void selectTab(int index) {
52  0 panel.selectTab(index);
53    }
54   
 
55  0 toggle public void removeTab(Widget widget) {
56  0 panel.removeTab(widget);
57    }
58   
 
59  0 toggle public boolean removeTab(int index) {
60  0 return panel.removeTab(index);
61    }
62   
 
63  0 toggle public void addTab(Widget w, String tabText) {
64  0 panel.addTab(w, tabText);
65    }
66   
 
67  0 toggle public void addTab(Widget w, Widget tab) {
68  0 panel.addTab(w, tab);
69    }
70   
 
71  0 toggle @Override
72    public void addSelectionHandler(SelectionHandler<Integer> handler) {
73  0 panel.addSelectionHandler(handler);
74    }
75   
 
76  0 toggle @Override
77    public int getWidgetIndex(Widget widget) {
78  0 return panel.getWidgetIndex(widget);
79    }
80   
81    }