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 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 |
|
|
26 |
|
|
27 |
|
@author |
28 |
|
|
29 |
|
|
30 |
|
@Deprecated |
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 10 |
Complexity Density: 1 |
|
31 |
|
public class KSTabPanel extends KSTabPanelAbstract { |
32 |
|
|
33 |
|
private KSTabPanelAbstract panel = GWT.create(KSTabPanelImpl.class); |
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0
|
public KSTabPanel() {... |
40 |
0
|
initWidget(panel); |
41 |
|
} |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public void addStyleName(String style) {... |
44 |
0
|
panel.addStyleName(style); |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0
|
public int getTabCount() {... |
48 |
0
|
return panel.getTabCount(); |
49 |
|
} |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0
|
public void selectTab(int index) {... |
52 |
0
|
panel.selectTab(index); |
53 |
|
} |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public void removeTab(Widget widget) {... |
56 |
0
|
panel.removeTab(widget); |
57 |
|
} |
58 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0
|
public boolean removeTab(int index) {... |
60 |
0
|
return panel.removeTab(index); |
61 |
|
} |
62 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
0
|
public void addTab(Widget w, String tabText) {... |
64 |
0
|
panel.addTab(w, tabText); |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public void addTab(Widget w, Widget tab) {... |
68 |
0
|
panel.addTab(w, tab); |
69 |
|
} |
70 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
0
|
@Override... |
72 |
|
public void addSelectionHandler(SelectionHandler<Integer> handler) { |
73 |
0
|
panel.addSelectionHandler(handler); |
74 |
|
} |
75 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
76 |
0
|
@Override... |
77 |
|
public int getWidgetIndex(Widget widget) { |
78 |
0
|
return panel.getWidgetIndex(widget); |
79 |
|
} |
80 |
|
|
81 |
|
} |