1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common.ui.client.widgets.tabs;
17
18 import org.kuali.student.common.ui.client.mvc.Callback;
19 import org.kuali.student.common.ui.client.widgets.tabs.KSTabPanel.TabPanelStyle;
20 import org.kuali.student.common.ui.client.widgets.tabs.KSTabPanel.TabPosition;
21
22 import com.google.gwt.user.client.ui.Composite;
23 import com.google.gwt.user.client.ui.Image;
24 import com.google.gwt.user.client.ui.Widget;
25
26 public abstract class KSTabPanelAbstract extends Composite {
27
28 public abstract void addTab(String key, Widget tabWidget, Widget content, TabPosition position);
29
30 public abstract void addTab(String key, String label, Widget content, TabPosition position);
31
32 public abstract void addTab(String key, String label, Image image, Widget content, TabPosition position);
33
34 public abstract void addTab(String key, String label, Image image, Widget content);
35
36 public abstract void addTab(String key, String label, Widget content);
37
38 public abstract void addTab(String key, Widget tabWidget, Widget content);
39
40 public abstract void selectTab(String key);
41
42 public abstract void removeTab(String key);
43
44 public abstract void addStyleName(String style);
45
46 public abstract int getTabCount();
47
48 public abstract void addTabCustomCallback(String key, Callback<String> callback);
49
50 public abstract void removeTabCustomCallbacks(String key);
51
52 public abstract String getSelectedTabKey();
53
54 public abstract boolean hasTabKey(String key);
55
56 public abstract void setTabPanelStyle(TabPanelStyle style);
57
58 }