List of usage examples for com.vaadin.ui Alignment BOTTOM_RIGHT
Alignment BOTTOM_RIGHT
To view the source code for com.vaadin.ui Alignment BOTTOM_RIGHT.
Click Source Link
From source file:com.dungnv.streetfood.ui.TwinColumnUI.java
public final void init() { setMargin(true);/* w w w. j ava 2 s.co m*/ setSpacing(true); setWidth(100f, Unit.PERCENTAGE); HorizontalLayout hLayout = new HorizontalLayout(); hLayout.setSpacing(true); hLayout.setWidth(100f, Unit.PERCENTAGE); addComponent(hLayout); msLeft = new MultiSelectUI(searchField); msLeft.setWidth(100.0f, Unit.PERCENTAGE); hLayout.addComponent(msLeft); hLayout.setExpandRatio(msLeft, .45f); VerticalLayout vButtonLayout = new VerticalLayout(); vButtonLayout.setSpacing(true); hLayout.addComponent(vButtonLayout); hLayout.setExpandRatio(vButtonLayout, .1f); hLayout.setComponentAlignment(vButtonLayout, Alignment.BOTTOM_CENTER); btnLeftAll = new Button(); btnLeftAll.setWidth(100f, Unit.PERCENTAGE); btnLeftAll.setIcon(FontAwesome.ANGLE_DOUBLE_LEFT); vButtonLayout.addComponent(btnLeftAll); btnLeft = new Button(); btnLeft.setWidth(100f, Unit.PERCENTAGE); btnLeft.setIcon(FontAwesome.ANGLE_LEFT); vButtonLayout.addComponent(btnLeft); btnRight = new Button(); btnRight.setWidth(100f, Unit.PERCENTAGE); btnRight.setIcon(FontAwesome.ANGLE_RIGHT); vButtonLayout.addComponent(btnRight); btnRightAll = new Button(); btnRightAll.setWidth(100f, Unit.PERCENTAGE); btnRightAll.setIcon(FontAwesome.ANGLE_DOUBLE_RIGHT); vButtonLayout.addComponent(btnRightAll); msRight = new MultiSelectUI(searchField); msRight.setWidth(100.0f, Unit.PERCENTAGE); hLayout.addComponent(msRight); hLayout.setExpandRatio(msRight, .45f); HorizontalLayout hlButtonFooter = new HorizontalLayout(); hlButtonFooter.setSpacing(true); addComponent(hlButtonFooter); setComponentAlignment(hlButtonFooter, Alignment.BOTTOM_RIGHT); btnSave = new Button(BundleUtils.getLanguage("lbl.save"), FontAwesome.SAVE); hlButtonFooter.addComponent(btnSave); btnCancel = new Button(BundleUtils.getLanguage("lbl.cancel"), FontAwesome.BAN); hlButtonFooter.addComponent(btnCancel); }
From source file:com.dungnv.streetfood.view.CategoryLink.java
private void init() { setLocale(VaadinSession.getCurrent().getLocale()); tabSheet = new TabSheet(); tabSheet.setStyleName(ValoTheme.TABSHEET_EQUAL_WIDTH_TABS); tabSheet.setSizeFull();//from w w w . j a v a 2 s .c o m VerticalLayout vLayout = new VerticalLayout(); tuiDish = new TwinColumnUI("name"); tuiDish.setLeftLabelCaption(BundleUtils.getLanguage("lbl.dish.avaiable.list")); tuiDish.setRightLabelCaption(BundleUtils.getLanguage("lbl.dish.selected.list")); vLayout.addComponent(tuiDish); lsDishLeft = tuiDish.getMsLeft().getLsItem(); lsDishRight = tuiDish.getMsRight().getLsItem(); HorizontalLayout hlButtonFooter = new HorizontalLayout(); hlButtonFooter.setSpacing(true); hlButtonFooter.setMargin(true); vLayout.addComponent(hlButtonFooter); vLayout.setComponentAlignment(hlButtonFooter, Alignment.BOTTOM_RIGHT); btnCancel = new Button(BundleUtils.getLanguage("lbl.cancel"), FontAwesome.BAN); hlButtonFooter.addComponent(btnCancel); tabSheet.addTab(vLayout, BundleUtils.getLanguage("lbl.category.categoryDish.tab")); setContent(tabSheet); }
From source file:com.esofthead.mycollab.module.project.view.kanban.AddNewColumnWindow.java
License:Open Source License
public AddNewColumnWindow(final IKanbanView kanbanView, final String type, final String fieldGroup) { super(AppContext.getMessage(TaskI18nEnum.ACTION_NEW_COLUMN)); this.setWidth("800px"); this.setModal(true); this.setResizable(false); this.center(); MVerticalLayout layout = new MVerticalLayout().withMargin(new MarginInfo(false, false, true, false)); GridFormLayoutHelper gridFormLayoutHelper = GridFormLayoutHelper.defaultFormLayoutHelper(1, 4); this.setContent(layout); final TextField stageField = new TextField(); final CheckBox defaultProject = new CheckBox(); defaultProject.setEnabled(AppContext.canBeYes(RolePermissionCollections.GLOBAL_PROJECT_SETTINGS)); final ColorPicker colorPicker = new ColorPicker("", new com.vaadin.shared.ui.colorpicker.Color( DEFAULT_COLOR.getRed(), DEFAULT_COLOR.getGreen(), DEFAULT_COLOR.getBlue())); final TextArea description = new TextArea(); gridFormLayoutHelper.addComponent(stageField, AppContext.getMessage(GenericI18Enum.FORM_NAME), 0, 0); gridFormLayoutHelper.addComponent(defaultProject, AppContext.getMessage(TaskI18nEnum.FORM_COLUMN_DEFAULT_FOR_NEW_PROJECT), 0, 1); gridFormLayoutHelper.addComponent(colorPicker, AppContext.getMessage(TaskI18nEnum.FORM_COLUMN_COLOR), 0, 2); gridFormLayoutHelper.addComponent(description, AppContext.getMessage(GenericI18Enum.FORM_DESCRIPTION), 0, 3);/*from w w w .j a v a2s . c o m*/ Button saveBtn = new Button(AppContext.getMessage(GenericI18Enum.BUTTON_SAVE), new Button.ClickListener() { @Override public void buttonClick(Button.ClickEvent clickEvent) { OptionVal optionVal = new OptionVal(); optionVal.setCreatedtime(new GregorianCalendar().getTime()); optionVal.setCreateduser(AppContext.getUsername()); optionVal.setDescription(description.getValue()); com.vaadin.shared.ui.colorpicker.Color color = colorPicker.getColor(); String cssColor = color.getCSS(); if (cssColor.startsWith("#")) { cssColor = cssColor.substring(1); } optionVal.setColor(cssColor); if (defaultProject.getValue()) { optionVal.setIsdefault(true); } else { optionVal.setIsdefault(false); optionVal.setExtraid(CurrentProjectVariables.getProjectId()); } optionVal.setSaccountid(AppContext.getAccountId()); optionVal.setType(type); optionVal.setTypeval(stageField.getValue()); optionVal.setFieldgroup(fieldGroup); OptionValService optionService = AppContextUtil.getSpringBean(OptionValService.class); int optionValId = optionService.saveWithSession(optionVal, AppContext.getUsername()); if (optionVal.getIsdefault()) { optionVal.setId(null); optionVal.setIsdefault(false); optionVal.setRefoption(optionValId); optionVal.setExtraid(CurrentProjectVariables.getProjectId()); optionService.saveWithSession(optionVal, AppContext.getUsername()); } kanbanView.addColumn(optionVal); close(); } }); saveBtn.setIcon(FontAwesome.SAVE); saveBtn.setStyleName(UIConstants.BUTTON_ACTION); Button cancelBtn = new Button(AppContext.getMessage(GenericI18Enum.BUTTON_CANCEL), new Button.ClickListener() { @Override public void buttonClick(Button.ClickEvent clickEvent) { close(); } }); cancelBtn.setStyleName(UIConstants.BUTTON_OPTION); MHorizontalLayout controls = new MHorizontalLayout().with(cancelBtn, saveBtn) .withMargin(new MarginInfo(false, true, false, false)); layout.with(gridFormLayoutHelper.getLayout(), controls).withAlign(controls, Alignment.BOTTOM_RIGHT); }
From source file:com.example.testzbox.vista.TabCarga.java
private void iniciarElementos() { //layout.setSpacing(true); layout.setWidth(200.0f, Unit.PERCENTAGE); //layout.setSizeFull(); cmbArea = new ComboBox("Area"); cmbArea.setWidth(30.0f, Unit.PERCENTAGE); cmbArea.setNullSelectionAllowed(false); cmbArea.setTextInputAllowed(false);/*from w w w .j av a 2 s . c o m*/ cmbArea.setInputPrompt("Seleccione"); cmbArea.addItem("adjustment"); // cmbArea.addItem("theft"); // cmbArea.addItem("siu"); // cmbArea.addItem("glasses"); // cmbArea.addItem("payments"); // cmbArea.addItem("valuation"); // cmbOperacion = new ComboBox("Operacin"); cmbOperacion.setWidth(30.0f, Unit.PERCENTAGE); cmbOperacion.setNullSelectionAllowed(false); cmbOperacion.setTextInputAllowed(false); cmbOperacion.setInputPrompt("Seleccione"); cmbOperacion.addItem("Asegurado"); cmbOperacion.addItem("Tercero"); txtNombreDoc = new TextField("Nombre Documento"); txtNombreDoc.setWidth(30.0f, Unit.PERCENTAGE); //SINIESTRO txtNumSiniestro = new TextField("Nmero Siniestro"); txtNumSiniestro.setWidth(30.0f, Unit.PERCENTAGE); txtNumPoliza = new TextField("Nmero de Pliza"); txtNumPoliza.setWidth(30.0f, Unit.PERCENTAGE); txtNombAsegurado = new TextField("Nombre Asegurado"); txtNombAsegurado.setWidth(30.0f, Unit.PERCENTAGE); dateFechaDocumento = new DateField("Fecha Creacin"); dateFechaDocumento.setWidth(30.0f, Unit.PERCENTAGE); txtIdUsuarioCmp = new TextField("Id Usuario"); txtIdUsuarioCmp.setWidth(30.0f, Unit.PERCENTAGE); //TIPO DOCUMENTAL cmbTipoDoc = new ComboBox("Tipo Documental"); cmbTipoDoc.setWidth(30.0f, Unit.PERCENTAGE); cmbTipoDoc.setNullSelectionAllowed(false); cmbTipoDoc.setTextInputAllowed(false); cmbTipoDoc.setInputPrompt("Seleccione"); cmbTipoDoc.addItem("averiguacionPrevia"); cmbTipoDoc.addItem("declaracionUniversalAccidente"); cmbTipoDoc.addItem("declaracionUniversalAccidenteSIPAC"); cmbTipoDoc.addItem("demanda"); cmbTipoDoc.addItem("poderNotarial"); cmbTipoDoc.addValueChangeListener(new Property.ValueChangeListener() { @Override public void valueChange(Property.ValueChangeEvent event) { dateFechaExpedicion.setVisible(true); txtFolioActa.setVisible(true); cmbTipoEvento.setVisible(true); } }); dateFechaExpedicion = new DateField("Fecha Expedicin"); dateFechaExpedicion.setWidth(30.0f, Unit.PERCENTAGE); dateFechaExpedicion.setVisible(false); txtFolioActa = new TextField("Folio Acta"); txtFolioActa.setWidth(30.0f, Unit.PERCENTAGE); txtFolioActa.setVisible(false); cmbTipoEvento = new ComboBox("Tipo Evento"); cmbTipoEvento.setWidth(30.0f, Unit.PERCENTAGE); cmbTipoEvento.setVisible(false); cmbTipoEvento.setNullSelectionAllowed(false); cmbTipoEvento.setTextInputAllowed(false); cmbTipoEvento.setInputPrompt("Seleccione"); cmbTipoEvento.addItem("Averiguacin Previa"); cmbTipoEvento.addItem("DUA"); cmbTipoEvento.addItem("DUA SIPAC"); cmbTipoEvento.addItem("DUA Cristaleras"); cmbTipoEvento.addItem("Demanda"); cmbTipoEvento.addItem("Poder Notarial"); lblPathArchivo = new Label(); lblPathArchivo.setVisible(false); lblExtensionArchivo = new Label(); lblExtensionArchivo.setVisible(false); // form.setSpacing(true); form.addComponents(cmbArea, cmbOperacion, txtNombreDoc, txtNumSiniestro, txtNumPoliza, txtNombAsegurado, dateFechaDocumento, txtIdUsuarioCmp, cmbTipoDoc, dateFechaExpedicion, txtFolioActa, cmbTipoEvento); uploader = uploadContents(); btnEnviar = new Button("Enviar"); btnEnviar.addStyleName(ValoTheme.BUTTON_PRIMARY); btnEnviar.addClickListener(new ClickListener() { @Override public void buttonClick(ClickEvent event) { //Path pathFile = Paths.get("C:\\Documento Prueba.pdf"); Path pathFile = Paths.get(lblPathArchivo.getCaption()); DocumentoVO documentoVO = new DocumentoVO(); documentoVO.setNombreDocumento(txtNombreDoc.getValue() + "." + lblExtensionArchivo.getCaption()); documentoVO.setSubTipoDocumental(cmbTipoDoc.getValue().toString()); documentoVO.setInputStream(pathFile.toFile()); Map<String, String> metadatos = new HashMap<>(); metadatos.put("folioActa", txtFolioActa.getValue()); metadatos.put("tipoEvento", cmbTipoEvento.getValue().toString()); metadatos.put("fechaExpedicion", convertDate(dateFechaExpedicion)); metadatos.put("numeroSiniestro", txtNumSiniestro.getValue()); metadatos.put("numeroPoliza", txtNumPoliza.getValue()); metadatos.put("nombreAsegurado", txtNombAsegurado.getValue()); metadatos.put("fechaCreacionDocumento", convertDate(dateFechaDocumento)); metadatos.put("idUsuarioCmp", txtIdUsuarioCmp.getValue()); metadatos.put("area", cmbArea.getValue().toString()); metadatos.put("operacion", cmbOperacion.getValue().toString()); documentoVO.setMetadatos(metadatos); cargarDocumento(documentoVO); } }); footer.setSpacing(true); footer.setWidth(38.0f, Unit.PERCENTAGE); footer.addComponents(uploader, btnEnviar); footer.setComponentAlignment(btnEnviar, Alignment.BOTTOM_RIGHT); layout.addComponents(form, lblPathArchivo, footer); setCaption("Carga"); setMargin(true); //setSpacing(true); addComponents(layout, panel); }
From source file:com.example.testzbox.vista.TabChecklist.java
private void initElements() { txtNumSiniestro = new TextField("Nmero Siniestro"); txtNumSiniestro.setWidth(30.0f, Sizeable.Unit.PERCENTAGE); cmbChecklist = new ComboBox("Checklist"); cmbChecklist.setWidth(30.0f, Sizeable.Unit.PERCENTAGE); cmbChecklist.setNullSelectionAllowed(false); cmbChecklist.setTextInputAllowed(false); cmbChecklist.setInputPrompt("Seleccione"); cmbChecklist.addItem("CHKLST_AJT_ASG_001"); cmbChecklist.addItem("CHKLST_AJT_TRC_001"); cmbChecklist.addItem("CHKLST_PAG_PT_006"); cmbChecklist.addItem("CHKLST_PAG_PD_001"); form.addComponents(txtNumSiniestro, cmbChecklist); btnVerificar = new Button("Verificar"); btnVerificar.addStyleName(ValoTheme.BUTTON_PRIMARY); btnVerificar.addClickListener(new Button.ClickListener() { @Override//from w w w . j a v a 2 s. c o m public void buttonClick(Button.ClickEvent event) { CheckListVO checkListVO = new CheckListVO(); checkListVO.setIdCheckList(cmbChecklist.getValue().toString()); Map<String, String> parametros = new HashMap<>(); parametros.put("numeroSiniestro", txtNumSiniestro.getValue()); checkListVO.setParametros(parametros); verificarChecklist(checkListVO); } }); footer.setSpacing(true); footer.setWidth(38.0f, Unit.PERCENTAGE); footer.addComponents(btnVerificar); footer.setComponentAlignment(btnVerificar, Alignment.BOTTOM_RIGHT); panel1.setVisible(false); setCaption("Checklist"); setSpacing(true); setMargin(true); addComponents(form, footer, panel1); }
From source file:com.expressui.core.view.results.Results.java
License:Open Source License
private HorizontalLayout createNavigationLine() { HorizontalLayout resultCountDisplay = new HorizontalLayout(); setDebugId(resultCountDisplay, "resultCountDisplay"); firstResultTextField = createFirstResultTextField(); firstResultTextField.addStyleName("small"); firstResultTextField.setSizeUndefined(); resultCountDisplay.addComponent(firstResultTextField); resultCountLabel = new Label("", Label.CONTENT_XHTML); resultCountLabel.setSizeUndefined(); resultCountLabel.addStyleName("small"); resultCountDisplay.addComponent(resultCountLabel); Label spaceLabel = new Label(" ", Label.CONTENT_XHTML); spaceLabel.setSizeUndefined();//from www . j a va 2s.co m resultCountDisplay.addComponent(spaceLabel); Button refreshButton = new Button(null, getResultsTable(), "refresh"); refreshButton.setDescription(uiMessageSource.getToolTip("results.refresh.toolTip")); refreshButton.setSizeUndefined(); refreshButton.addStyleName("borderless"); refreshButton.setIcon(new ThemeResource("../expressui/icons/16/refresh-blue.png")); resultCountDisplay.addComponent(refreshButton); HorizontalLayout navigationButtons = new HorizontalLayout(); setDebugId(navigationButtons, "navigationButtons"); navigationButtons.setMargin(false, true, false, false); navigationButtons.setSpacing(true); String perPageText = uiMessageSource.getMessage("results.pageSize"); pageSizeMenu = new Select(); pageSizeMenu.addStyleName("small"); List<Integer> pageSizeOptions = applicationProperties.getPageSizeOptions(); for (Integer pageSizeOption : pageSizeOptions) { pageSizeMenu.addItem(pageSizeOption); pageSizeMenu.setItemCaption(pageSizeOption, pageSizeOption + " " + perPageText); } pageSizeMenu.setFilteringMode(Select.FILTERINGMODE_OFF); pageSizeMenu.setNewItemsAllowed(false); pageSizeMenu.setNullSelectionAllowed(false); pageSizeMenu.setImmediate(true); pageSizeMenu.setWidth(8, UNITS_EM); navigationButtons.addComponent(pageSizeMenu); firstButton = new Button(null, getResultsTable(), "firstPage"); firstButton.setDescription(uiMessageSource.getToolTip("results.first.toolTip")); firstButton.setSizeUndefined(); firstButton.addStyleName("borderless"); firstButton.setIcon(new ThemeResource("../expressui/icons/16/first.png")); navigationButtons.addComponent(firstButton); previousButton = new Button(null, getResultsTable(), "previousPage"); previousButton.setDescription(uiMessageSource.getToolTip("results.previous.toolTip")); previousButton.setSizeUndefined(); previousButton.addStyleName("borderless"); previousButton.setIcon(new ThemeResource("../expressui/icons/16/previous.png")); navigationButtons.addComponent(previousButton); nextButton = new Button(null, getResultsTable(), "nextPage"); nextButton.setDescription(uiMessageSource.getToolTip("results.next.toolTip")); nextButton.setSizeUndefined(); nextButton.addStyleName("borderless"); nextButton.setIcon(new ThemeResource("../expressui/icons/16/next.png")); navigationButtons.addComponent(nextButton); lastButton = new Button(null, getResultsTable(), "lastPage"); lastButton.setDescription(uiMessageSource.getToolTip("results.last.toolTip")); lastButton.setSizeUndefined(); lastButton.addStyleName("borderless"); lastButton.setIcon(new ThemeResource("../expressui/icons/16/last.png")); navigationButtons.addComponent(lastButton); excelButton = new Button(null, this, "openExportForm"); excelButton.setDescription(uiMessageSource.getToolTip("results.excel.toolTip")); excelButton.setSizeUndefined(); excelButton.addStyleName("borderless"); excelButton.setIcon(new ThemeResource("../expressui/icons/16/excel.bmp")); navigationButtons.addComponent(excelButton); exportForm.setExportButtonListener(this, "exportToExcel"); HorizontalLayout navigationLine = new HorizontalLayout(); setDebugId(navigationLine, "navigationLine"); navigationLine.setSizeUndefined(); navigationLine.setMargin(true, false, true, false); navigationLine.addComponent(resultCountDisplay); navigationLine.setComponentAlignment(resultCountDisplay, Alignment.BOTTOM_LEFT); spaceLabel = new Label("", Label.CONTENT_XHTML); spaceLabel.setWidth(2, Sizeable.UNITS_EM); navigationLine.addComponent(spaceLabel); navigationLine.addComponent(navigationButtons); navigationLine.setComponentAlignment(navigationButtons, Alignment.BOTTOM_RIGHT); return navigationLine; }
From source file:com.foc.helpBook.HelpUI.java
License:Apache License
@Override public FocCentralPanel newWindow() { FocCentralPanel focCentralPanel = new FocCentralPanel(); focCentralPanel.fill();// w ww .j av a 2 s. c o m Label labelHelpContent = new Label(); labelHelpContent.setContentMode(ContentMode.HTML); String htmlContent = (String) FocWebApplication.getFocWebSession_Static().getParameter("HELP_CONTENT"); labelHelpContent.setValue(htmlContent); VerticalLayout mainLayout = new VerticalLayout(); mainLayout.setSizeFull(); HorizontalLayout navigationLayout = new HorizontalLayout(); navigationLayout.setWidth("95%"); navigationLayout.addComponent(getPreviousPageButton()); navigationLayout.setComponentAlignment(getPreviousPageButton(), Alignment.BOTTOM_LEFT); navigationLayout.addComponent(getNextPageButton()); navigationLayout.setComponentAlignment(getNextPageButton(), Alignment.BOTTOM_RIGHT); mainLayout.addComponent(labelHelpContent); mainLayout.addComponent(navigationLayout); mainLayout.setComponentAlignment(navigationLayout, Alignment.BOTTOM_CENTER); focCentralPanel.addComponent(mainLayout); return focCentralPanel; }
From source file:com.foc.vaadin.gui.FocXMLGuiComponentStatic.java
License:Apache License
public static void applyAlignment(AbstractOrderedLayout layout, Component component, String alignment) { alignment = alignment.toLowerCase(); if (alignment.equals("right") || alignment.equals("middle_right")) { layout.setComponentAlignment(component, Alignment.MIDDLE_RIGHT); } else if (alignment.equals("left") || alignment.equals("middle_left")) { layout.setComponentAlignment(component, Alignment.MIDDLE_LEFT); } else if (alignment.equals("center") || alignment.equals("middle_center")) { layout.setComponentAlignment(component, Alignment.MIDDLE_CENTER); } else if (alignment.equals("top_right")) { layout.setComponentAlignment(component, Alignment.TOP_RIGHT); } else if (alignment.equals("top_left")) { layout.setComponentAlignment(component, Alignment.TOP_LEFT); } else if (alignment.equals("top_center")) { layout.setComponentAlignment(component, Alignment.TOP_CENTER); } else if (alignment.equals("bottom_right")) { layout.setComponentAlignment(component, Alignment.BOTTOM_RIGHT); } else if (alignment.equals("bottom_left")) { layout.setComponentAlignment(component, Alignment.BOTTOM_LEFT); } else if (alignment.equals("bottom_center")) { layout.setComponentAlignment(component, Alignment.BOTTOM_CENTER); }/*from ww w . ja v a 2 s . c om*/ }
From source file:com.foc.vaadin.gui.layouts.FVTableWrapperLayout.java
License:Apache License
private void createHeaderLayoutsIfNeeded() { if (headerRootLayout == null) { headerRootLayout = new FVHorizontalLayout(null); headerRootLayout.setWidth("100%"); // headerRootLayout.addStyleName("foc-blue"); // headerRootLayout.addStyleName("noPrint"); // headerRootLayout.setCaption(null); //BAntoineS - Horizontal //verticalTableLayout.addComponentAsFirst(headerRootLayout);; addComponentAsFirst(headerRootLayout); //EAntoineS - Horizontal headerLeftLayout = new FVHorizontalLayout(null); headerRootLayout.addComponent(headerLeftLayout); headerRootLayout.setComponentAlignment(headerLeftLayout, Alignment.BOTTOM_LEFT); headerLeftLayout.setCaption(null); headerRootLayout.setExpandRatio(headerLeftLayout, 1); // headerLeftLayout.addStyleName("noPrint"); headerRightLayout = new FVHorizontalLayout(null); headerRightLayout.setCaption(null); headerRootLayout.addComponent(headerRightLayout); headerRootLayout.setComponentAlignment(headerRightLayout, Alignment.BOTTOM_RIGHT); headerRightLayout.addStyleName(FocXMLGuiComponentStatic.STYLE_NO_PRINT); }//from w w w. jav a 2 s. co m }
From source file:com.foc.vaadin.gui.layouts.FVTableWrapperLayout.java
License:Apache License
public void addHeaderComponent_AsFirst(Component comp) { if (getHeaderRightLayout() != null) { getHeaderRightLayout().addComponentAsFirst(comp); getHeaderRightLayout().setComponentAlignment(comp, Alignment.BOTTOM_RIGHT); addComponentToFocXMLLayoutMap(comp); }//from w w w . j a v a 2 s . c om }