當前位置: 首頁>>代碼示例>>Java>>正文


Java TabSheet.setImmediate方法代碼示例

本文整理匯總了Java中com.vaadin.ui.TabSheet.setImmediate方法的典型用法代碼示例。如果您正苦於以下問題:Java TabSheet.setImmediate方法的具體用法?Java TabSheet.setImmediate怎麽用?Java TabSheet.setImmediate使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在com.vaadin.ui.TabSheet的用法示例。


在下文中一共展示了TabSheet.setImmediate方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: buildVerticalLayoutRightPanel

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private VerticalLayout buildVerticalLayoutRightPanel() {
	// common part: create layout
	verticalLayoutRightPanel = new VerticalLayout();
	verticalLayoutRightPanel.setImmediate(false);
	verticalLayoutRightPanel.setWidth("100.0%");
	verticalLayoutRightPanel.setHeight("-1px");
	verticalLayoutRightPanel.setMargin(true);
	verticalLayoutRightPanel.setSpacing(true);
	
	// horizontalLayoutRightToolbar
	horizontalLayoutRightToolbar = buildHorizontalLayoutRightToolbar();
	verticalLayoutRightPanel.addComponent(horizontalLayoutRightToolbar);
	
	// tabSheet
	tabSheet = new TabSheet();
	tabSheet.setImmediate(true);
	tabSheet.setWidth("100.0%");
	tabSheet.setHeight("-1px");
	verticalLayoutRightPanel.addComponent(tabSheet);
	verticalLayoutRightPanel.setExpandRatio(tabSheet, 1.0f);
	
	return verticalLayoutRightPanel;
}
 
開發者ID:apache,項目名稱:incubator-openaz,代碼行數:25,代碼來源:PolicyWorkspace.java

示例2: buildHorizontalLayout_3

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_3() {
	// common part: create layout
	horizontalLayout_3 = new HorizontalLayout();
	horizontalLayout_3.setImmediate(false);
	horizontalLayout_3.setWidth("100.0%");
	horizontalLayout_3.setHeight("100.0%");
	horizontalLayout_3.setMargin(false);
	
	// tabSheet_1
	tabSheet_1 = new TabSheet();
	tabSheet_1.setImmediate(false);
	tabSheet_1.setWidth("100.0%");
	tabSheet_1.setHeight("100.0%");
	horizontalLayout_3.addComponent(tabSheet_1);
	
	return horizontalLayout_3;
}
 
開發者ID:alenca,項目名稱:zklogtool,代碼行數:19,代碼來源:MainLayout.java

示例3: buildMainLayout

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("100%");
	mainLayout.setMargin(false);
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("100.0%");
	
	// tabSheetMessage
	tabSheetMessage = new TabSheet();
	tabSheetMessage.setImmediate(false);
	tabSheetMessage.setWidth("100.0%");
	tabSheetMessage.setHeight("100.0%");
	mainLayout.addComponent(tabSheetMessage);
	mainLayout.setExpandRatio(tabSheetMessage, 1.0f);
	
	return mainLayout;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:24,代碼來源:CaptureView.java

示例4: buildHorizontalSplitPanelOrganization

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private HorizontalSplitPanel buildHorizontalSplitPanelOrganization() {
	// common part: create layout
	horizontalSplitPanelOrganization = new HorizontalSplitPanel();
	horizontalSplitPanelOrganization.setSplitPosition(25, Sizeable.UNITS_PERCENTAGE);
	horizontalSplitPanelOrganization.setImmediate(false);
	horizontalSplitPanelOrganization.setWidth("100.0%");
	horizontalSplitPanelOrganization.setHeight("100.0%");
	horizontalSplitPanelOrganization.setMargin(false);
	
	// tabSheetOrganization		
	tabSheetOrganization = new TabSheet();		
	tabSheetOrganization.setImmediate(true);
	tabSheetOrganization.setWidth("100.0%");
	tabSheetOrganization.setHeight("100.0%");
	horizontalSplitPanelOrganization.addComponent(tabSheetOrganization);
	
	return horizontalSplitPanelOrganization;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:20,代碼來源:OrganizationView.java

示例5: buildTabSheet

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private TabSheet buildTabSheet() {
	// common part: create layout
	tabSheet = new TabSheet();
	tabSheet.setImmediate(true);
	tabSheet.setWidth("100.0%");
	tabSheet.setHeight("-1px");
	
	// verticalLayout_2
	verticalLayout_2 = buildVerticalLayout_2();
	tabSheet.addTab(verticalLayout_2, "Dirección", null);
	
	// verticalLayout_3
	verticalLayout_3 = buildVerticalLayout_3();
	tabSheet.addTab(verticalLayout_3, "Coordenadas", null);
	
	return tabSheet;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:19,代碼來源:LocationField.java

示例6: buildMainLayout

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("-1px");
	mainLayout.setMargin(false);
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("-1px");
	
	// tabSheet
	tabSheet = new TabSheet();
	tabSheet.setImmediate(false);
	tabSheet.setWidth("100.0%");
	tabSheet.setHeight("100.0%");
	mainLayout.addComponent(tabSheet);
	mainLayout.setExpandRatio(tabSheet, 1.0f);
	
	return mainLayout;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:24,代碼來源:LocalizationField.java

示例7: buildProfileLayout

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private VerticalLayout buildProfileLayout() {
	// common part: create layout
	profileLayout = new VerticalLayout();
	profileLayout.setImmediate(false);
	profileLayout.setWidth("100.0%");
	profileLayout.setHeight("100.0%");
	profileLayout.setMargin(true);
	profileLayout.setSpacing(true);
	
	// profileTabsheet
	profileTabsheet = new TabSheet();
	profileTabsheet.setImmediate(false);
	profileTabsheet.setWidth("100.0%");
	profileTabsheet.setHeight("100.0%");
	profileLayout.addComponent(profileTabsheet);
	profileLayout.setExpandRatio(profileTabsheet, 1.0f);
	
	return profileLayout;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:21,代碼來源:LogoutViewForm.java

示例8: buildVerticalLayoutPanel

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private VerticalLayout buildVerticalLayoutPanel() {
	// common part: create layout
	verticalLayoutPanel = new VerticalLayout();
	verticalLayoutPanel.setImmediate(false);
	verticalLayoutPanel.setWidth("100.0%");
	verticalLayoutPanel.setHeight("100.0%");
	verticalLayoutPanel.setMargin(false);
	
	// tabSheetModule
	tabSheetModule = new TabSheet();
	tabSheetModule.setImmediate(false);
	tabSheetModule.setWidth("100.0%");
	tabSheetModule.setHeight("100.0%");

	verticalLayoutPanel.addComponent(tabSheetModule);
	verticalLayoutPanel.setExpandRatio(tabSheetModule, 1.0f);
	
	return verticalLayoutPanel;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:21,代碼來源:WorkbenchPanel.java

示例9: buildMainLayout

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("100%");
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("100.0%");
	
	// tabSheetOpciones
	tabSheetOpciones = new TabSheet();
	tabSheetOpciones.setImmediate(false);
	tabSheetOpciones.setWidth("100.0%");
	tabSheetOpciones.setHeight("100.0%");
	mainLayout.addComponent(tabSheetOpciones,
			"top:20.0px;bottom:20.0px;left:0.0px;");
	
	return mainLayout;
}
 
開發者ID:unicesi,項目名稱:academ,代碼行數:23,代碼來源:PanelOpciones.java

示例10: init

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
/**
 * Initialise la vue
 */
@PostConstruct
public void init() {		
	
	/* Style */
	setSizeFull();
	setSpacing(true);		
	
	/*Layout des mails*/
	VerticalLayout layoutMailModel = new VerticalLayout();
	layoutMailModel.setSizeFull();
	layoutMailModel.setSpacing(true);
	layoutMailModel.setMargin(true);
	
	/*Layout des typ decision*/
	VerticalLayout layoutMailTypeDec = new VerticalLayout();
	layoutMailTypeDec.setSizeFull();
	layoutMailTypeDec.setSpacing(true);
	layoutMailTypeDec.setMargin(true);
	
	/*Le layout a onglet*/
	TabSheet sheet = new TabSheet();
	sheet.setImmediate(true);
	sheet.addStyleName(ValoTheme.TABSHEET_PADDED_TABBAR);
	addComponent(sheet);
	sheet.setSizeFull();
	
	sheet.addTab(layoutMailModel, applicationContext.getMessage("mail.model.title", null, UI.getCurrent().getLocale()),FontAwesome.ENVELOPE_O);
	sheet.addTab(layoutMailTypeDec, applicationContext.getMessage("mail.typdec.title", null, UI.getCurrent().getLocale()),FontAwesome.ENVELOPE);
	
	/*Populate le layoutMailModel*/
	populateMailModelLayout(layoutMailModel);
	
	/*Populate le layoutMailModel*/
	populateMailTypeDecLayout(layoutMailTypeDec);
	
	
	/* Inscrit la vue aux mises à jour de mail */
	mailEntityPusher.registerEntityPushListener(this);
}
 
開發者ID:EsupPortail,項目名稱:esup-ecandidat,代碼行數:43,代碼來源:ScolMailView.java

示例11: buildMainLayout

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("100%");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("100.0%");
	
	// horizontalLayout_1
	horizontalLayout_1 = buildHorizontalLayout_1();
	mainLayout.addComponent(horizontalLayout_1);
	
	// tabSheet
	tabSheet = new TabSheet();
	tabSheet.setImmediate(false);
	tabSheet.setWidth("100.0%");
	tabSheet.setHeight("100.0%");
	mainLayout.addComponent(tabSheet);
	mainLayout.setExpandRatio(tabSheet, 1.0f);
	
	// labelCopyright
	labelCopyright = new Label();
	labelCopyright.setImmediate(false);
	labelCopyright.setWidth("-1px");
	labelCopyright.setHeight("40px");
	labelCopyright
			.setValue("<center>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</center>");
	mainLayout.addComponent(labelCopyright);
	mainLayout.setComponentAlignment(labelCopyright, new Alignment(48));
	
	return mainLayout;
}
 
開發者ID:apache,項目名稱:incubator-openaz,代碼行數:38,代碼來源:XacmlAdminConsole.java

示例12: buildUserPages

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private TabSheet buildUserPages(UsersUI uui) {
	// common part: create layout
	userPages = new TabSheet();
	userPages.setImmediate(true);
	userPages.setWidth("100.0%");
	userPages.setHeight("100%");

	// hide the tabs because we don't want the user switching manually.
	userPages.hideTabs(true);

	// userListTab
	userListTab = new UserListComponent();
	userListTab.setImmediate(false);
	userListTab.setWidth("100.0%");
	userListTab.setHeight("100%");
	userPages.addTab(userListTab, "List", null);

	// userDetailTab
	userDetailTab = new UserDetailComponent(uui);
	userDetailTab.setImmediate(false);
	userDetailTab.setWidth("100.0%");
	userDetailTab.setHeight("100%");
	userPages.addTab(userDetailTab, "Detail", null);

	return userPages;
}
 
開發者ID:dnebinger,項目名稱:vaadin-sample-portlet,代碼行數:28,代碼來源:LiferayUsersComponent.java

示例13: buildMainLayout

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("100%");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("100.0%");
	
	// horizontalLayout_1
	horizontalLayout_1 = buildHorizontalLayout_1();
	mainLayout.addComponent(horizontalLayout_1);
	
	// tabSheet
	tabSheet = new TabSheet();
	tabSheet.setImmediate(false);
	tabSheet.setWidth("100.0%");
	tabSheet.setHeight("100.0%");
	mainLayout.addComponent(tabSheet);
	mainLayout.setExpandRatio(tabSheet, 1.0f);
	
	// labelCopyright
	labelCopyright = new Label();
	labelCopyright.setImmediate(false);
	labelCopyright.setWidth("-1px");
	labelCopyright.setHeight("40px");
	labelCopyright
			.setValue("<center>&copy; 2013-2014 AT&T Intellectual Property. All rights reserved.</center>");
	mainLayout.addComponent(labelCopyright);
	mainLayout.setComponentAlignment(labelCopyright, new Alignment(48));
	
	return mainLayout;
}
 
開發者ID:att,項目名稱:XACML,代碼行數:38,代碼來源:XacmlAdminConsole.java

示例14: buildTabSheetClient

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private TabSheet buildTabSheetClient() {
	// common part: create layout
	tabSheetClient = new TabSheet();
	tabSheetClient.setImmediate(true);
	tabSheetClient.setWidth("100.0%");
	tabSheetClient.setHeight("100.0%");
	
	// generalLayout
	generalLayout = buildGeneralLayout();
	tabSheetClient.addTab(generalLayout, "General", null);
	
	// addressLayout
	addressLayout = buildAddressLayout();
	tabSheetClient.addTab(addressLayout, "Dirección", null);
	
	// securityLayout
	securityLayout = buildSecurityLayout();
	tabSheetClient.addTab(securityLayout, "Seguridad", null);
	
	// organizationLayout
	organizationLayout = buildOrganizationLayout();
	tabSheetClient.addTab(organizationLayout, "Organización", null);
	
	// applicationverticalLayout
	applicationverticalLayout = buildApplicationverticalLayout();
	tabSheetClient.addTab(applicationverticalLayout, "Aplicaciones", null);
	
	// rolLayout
	rolLayout = buildRolLayout();
	tabSheetClient.addTab(rolLayout, "Rol", null);
	
	return tabSheetClient;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:35,代碼來源:ClientViewForm.java

示例15: buildTabSheetSupplier

import com.vaadin.ui.TabSheet; //導入方法依賴的package包/類
@AutoGenerated
private TabSheet buildTabSheetSupplier() {
	// common part: create layout
	tabSheetSupplier = new TabSheet();
	tabSheetSupplier.setImmediate(true);
	tabSheetSupplier.setWidth("100.0%");
	tabSheetSupplier.setHeight("100.0%");
	
	// generalLayout
	generalLayout = buildGeneralLayout();
	tabSheetSupplier.addTab(generalLayout, "General", null);
	
	// addressLayout
	addressLayout = buildAddressLayout();
	tabSheetSupplier.addTab(addressLayout, "Dirección", null);
	
	// securityLayout
	securityLayout = buildSecurityLayout();
	tabSheetSupplier.addTab(securityLayout, "Seguridad", null);
	
	// organizationLayout
	organizationLayout = buildOrganizationLayout();
	tabSheetSupplier.addTab(organizationLayout, "Organización", null);
	
	// aplicationLayout
	aplicationLayout = buildAplicationLayout();
	tabSheetSupplier.addTab(aplicationLayout, "Aplicación", null);
	
	// rolLayout
	rolLayout = buildRolLayout();
	tabSheetSupplier.addTab(rolLayout, "Rol", null);
	
	return tabSheetSupplier;
}
 
開發者ID:thingtrack,項目名稱:konekti,代碼行數:35,代碼來源:SupplierViewForm.java


注:本文中的com.vaadin.ui.TabSheet.setImmediate方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。