本文整理匯總了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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 © 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;
}
示例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;
}
示例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>© 2013-2014 AT&T Intellectual Property. All rights reserved.</center>");
mainLayout.addComponent(labelCopyright);
mainLayout.setComponentAlignment(labelCopyright, new Alignment(48));
return mainLayout;
}
示例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;
}
示例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;
}