本文整理汇总了Java中com.extjs.gxt.ui.client.widget.TabItem.setHideMode方法的典型用法代码示例。如果您正苦于以下问题:Java TabItem.setHideMode方法的具体用法?Java TabItem.setHideMode怎么用?Java TabItem.setHideMode使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.extjs.gxt.ui.client.widget.TabItem
的用法示例。
在下文中一共展示了TabItem.setHideMode方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SettingsTab
import com.extjs.gxt.ui.client.widget.TabItem; //导入方法依赖的package包/类
public SettingsTab(){
TabItem authTab = new TabItem("Auth Settings");
authTab.setHideMode(HideMode.OFFSETS);
authTab.add(new AuthPanel());
add(authTab);
TabItem settingsTab = new TabItem("Timesheet Settings");
settingsTab.setHideMode(HideMode.OFFSETS);
settingsTab.add(new TimesheetSettingsPanel());
add(settingsTab);
}
示例2: ToolsTab
import com.extjs.gxt.ui.client.widget.TabItem; //导入方法依赖的package包/类
public ToolsTab(){
TabItem fixRateTab = new TabItem("Fix Rate's Tab");
fixRateTab.setHideMode(HideMode.OFFSETS);
fixRateTab.add(new ExternalRatePanel());
add(fixRateTab);
}
示例3: doRightPanel
import com.extjs.gxt.ui.client.widget.TabItem; //导入方法依赖的package包/类
private TabPanel doRightPanel(){
TabPanel folder = new TabPanel();
TabItem assignmentTab = new TabItem("Assignment Detail");
assignmentTab.setWidth(724);
assignmentTab.setHeight(600);
assignmentDetailPanel = new AssignmentDetailPanel();
assignmentTab.add(assignmentDetailPanel);
folder.add(assignmentTab);
TabItem usersTreePanelTab = new TabItem("Users Statistic");
usersTreePanelTab.setHideMode(HideMode.OFFSETS);
usersTreePanelTab.setWidth(724);
usersTreePanelTab.setHeight(600);
userDepartmentReportContentPanel = new UserDepartmentReportContentPanel();
usersTreePanelTab.add(userDepartmentReportContentPanel);
folder.add(usersTreePanelTab);
TabItem usersAssignmentTab = new TabItem("Users Assignments");
usersAssignmentTab.setHideMode(HideMode.OFFSETS);
usersAssignmentTab.add(doUserAssignmentContentPanel());
folder.add(usersAssignmentTab );
TabItem reportTab = new TabItem("Department Report");
reportTab.setHideMode(HideMode.OFFSETS);
reportTab.setWidth(724);
reportTab.setHeight(600);
departmentReportContentPanel = new DepartmentReportContentPanel();
reportTab.add(departmentReportContentPanel);
folder.add(reportTab);
return folder;
}