private HorizontalLayout createButtonLayout(final Button cancelButton) { final HorizontalLayout hButtonLayout = new HorizontalLayout(); hButtonLayout.setSpacing(true); hButtonLayout.addComponent(okButton); hButtonLayout.addComponent(cancelButton); hButtonLayout.setSizeUndefined(); hButtonLayout.setComponentAlignment(okButton, Alignment.TOP_CENTER); hButtonLayout.setComponentAlignment(cancelButton, Alignment.TOP_CENTER); return hButtonLayout; }
private HorizontalLayout createButtonLayout(final Button cancelButton) { final HorizontalLayout hButtonLayout = new HorizontalLayout(); hButtonLayout.setSpacing(true); hButtonLayout.addComponent(okButton); hButtonLayout.addComponent(cancelButton); hButtonLayout.setSizeUndefined(); hButtonLayout.setComponentAlignment(okButton, Alignment.TOP_CENTER); hButtonLayout.setComponentAlignment(cancelButton, Alignment.TOP_CENTER); return hButtonLayout; }
private void closeFilterByDistribution() { /* Remove filter by distribution information. */ getFilterDroppedInfo().removeAllComponents(); getFilterDroppedInfo().setSizeUndefined(); /* Remove distribution Id from target filter parameters */ getManagementUIState().getTargetTableFilters().setDistributionSet(null); /* Reload the table */ eventBus.publish(this, TargetFilterEvent.REMOVE_FILTER_BY_DISTRIBUTION); }
private void closeFilterByDistribution() { /* Remove filter by distribution information. */ getFilterDroppedInfo().removeAllComponents(); getFilterDroppedInfo().setSizeUndefined(); /* Remove distribution Id from target filter parameters */ getManagementUIState().getTargetTableFilters().setDistributionSet(null); /* Reload the table */ eventBus.publish(this, TargetFilterEvent.REMOVE_FILTER_BY_DISTRIBUTION); }
panelLayout.setSizeUndefined(); imagePanel.setContent(panelLayout); imagePanel.addComponent(diagram);
panelLayout.setSizeUndefined(); imagePanel.setContent(panelLayout); imagePanel.addComponent(browserPanel); imagePanel.setHeight(100, UNITS_PERCENTAGE); HorizontalLayout panelLayout = new HorizontalLayout(); panelLayout.setSizeUndefined(); imagePanel.setContent(panelLayout); imagePanel.addComponent(embedded);
panelLayoutT.setSizeUndefined(); imagePanel.setContent(panelLayoutT); imagePanel.addComponent(browserPanel); panelLayoutT.setSizeUndefined(); imagePanel.setContent(panelLayoutT); imagePanel.addComponent(embedded);
buttonLayout.setSizeUndefined(); buttonLayout.setMargin(false); buttonLayout.setSpacing(true);
iconLayout.setSizeUndefined(); iconLayout.setSpacing(false); iconLayout.addComponents(helpLink, searchIcon, saveButton); queryLayout.setSizeUndefined(); queryLayout.setSpacing(true); queryLayout.addComponents(queryTextField, iconLayout);
iconLayout.setSizeUndefined(); iconLayout.setSpacing(false); iconLayout.addComponents(helpLink, searchIcon, saveButton); queryLayout.setSizeUndefined(); queryLayout.setSpacing(true); queryLayout.addComponents(queryTextField, iconLayout);
buttonBar.setSizeUndefined(); buttonBar.setSpacing(true); buttonBar.addComponent(set); row.setSizeUndefined(); row.setSpacing(true); row.addComponent(fromField);
final HorizontalLayout hl = new HorizontalLayout(); hl.setSpacing(true); hl.setSizeUndefined(); if(this.showTargetParamNames()) hl.setSizeUndefined();
imagePanel.setHeight(700, UNITS_PIXELS); HorizontalLayout panelLayout = new HorizontalLayout(); panelLayout.setSizeUndefined(); imagePanel.setContent(panelLayout); imagePanel.addComponent(embedded);
filterDroppedInfo.setStyleName("target-dist-filter-info"); filterDroppedInfo.setHeightUndefined(); filterDroppedInfo.setSizeUndefined(); displayFilterDropedInfoOnLoad(); final DragAndDropWrapper dropFilterLayout = new DragAndDropWrapper(filterDroppedInfo);
filterDroppedInfo.setStyleName("target-dist-filter-info"); filterDroppedInfo.setHeightUndefined(); filterDroppedInfo.setSizeUndefined(); displayFilterDropedInfoOnLoad(); final DragAndDropWrapper dropFilterLayout = new DragAndDropWrapper(filterDroppedInfo);