/** * Constructs a NavigationView with an empty {@link CssLayout} as its * content. */ public NavigationView() { this(new CssLayout()); }
protected Layout createLinksLayout() { CssLayout linksLayout = new CssLayout(); linksLayout.setPrimaryStyleName("c-breadcrumbs"); return linksLayout; }
protected Layout createLogoLayout() { CssLayout logoLayout = new CssLayout(); logoLayout.setPrimaryStyleName("c-breadcrumbs-logo"); return logoLayout; }
private Component buildHeader() { final CssLayout cssLayout = new CssLayout(); cssLayout.setStyleName("view-header"); return cssLayout; }
protected Layout createEnclosingLayout() { Layout enclosingLayout = new CssLayout(); enclosingLayout.setPrimaryStyleName("c-breadcrumbs-container"); return enclosingLayout; }
private static Component buildHeader() { final CssLayout cssLayout = new CssLayout(); cssLayout.setStyleName("view-header"); return cssLayout; }
private Component buildHeader() { final CssLayout cssLayout = new CssLayout(); cssLayout.setStyleName("view-header"); return cssLayout; }
@Override public Component asVaadinComponent() { return new CssLayout(); } }).when(statusBarPresenter).start(any(EventBus.class), any(ContentPresenter.class));
private static Component buildHeader() { final CssLayout cssLayout = new CssLayout(); cssLayout.setStyleName("view-header"); return cssLayout; }
private void initContainer() { CssLayout viewContainer = new CssLayout(); viewContainer.addStyleName("valo-content"); viewContainer.setSizeFull(); this.container = viewContainer; }
protected void init(VaadinRequest request) { final CssLayout layout = new CssLayout(); setContent(layout); ... Bar bar = new Bar(); layout.addComponent(bar); }
protected void initHeader() { header = new CssLayout(); header.addStyleName(ExplorerLayout.STYLE_HEADER); header.setWidth(100, UNITS_PERCENTAGE); addComponent(header); }
public WebAppWorkArea() { component = new CssLayout(); component.setPrimaryStyleName(WORKAREA_STYLENAME); component.addStyleName(MODE_TABBED_STYLENAME); component.addStyleName(STATE_INITIAL_STYLENAME); }
private CssLayout createGroup(Component... components) { CssLayout group = new CssLayout(); group.addStyleName("toolbar-component-group"); group.setSizeFull(); for (Component eachComponent : components) { eachComponent.setPrimaryStyleName("toolbar-group-item"); group.addComponent(eachComponent); } return group; }
private CssLayout buildLoginInformation() { CssLayout loginInformation = new CssLayout(); loginInformation.setStyleName("login-information"); Label loginInfoText = new Label(MNls.find(this,"login.info.text=Content Editor"), ContentMode.HTML); loginInformation.addComponent(loginInfoText); return loginInformation; }
private CssLayout createGroup(Component... components) { CssLayout group = new CssLayout(); group.addStyleName("toolbar-component-group"); group.setSizeFull(); for (Component eachComponent : components) { eachComponent.setPrimaryStyleName("toolbar-group-item"); group.addComponent(eachComponent); } return group; }
protected void initMain() { main = new CssLayout(); main.setSizeFull(); main.addStyleName(ExplorerLayout.STYLE_MAIN_CONTENT); addComponent(main); setExpandRatio(main, 1.0f); }
public HelpOverlay() { setContent(new CssLayout()); setPrimaryStyleName("help-overlay"); setDraggable(false); setResizable(false); }
protected void initDescription() { CssLayout descriptionLayout = new CssLayout(); descriptionLayout.addStyleName(ExplorerLayout.STYLE_DETAIL_BLOCK); descriptionLayout.setWidth(100, UNITS_PERCENTAGE); if (historicTask.getDescription() != null) { Label descriptionLabel = new Label(historicTask.getDescription()); descriptionLayout.addComponent(descriptionLabel); } centralLayout.addComponent(descriptionLayout); }
protected void initFooter() { footer = new CssLayout(); footer.setWidth(100, UNITS_PERCENTAGE); footer.addStyleName(ExplorerLayout.STYLE_MAIN_FOOTER); addComponent(footer); Label footerLabel = new Label(); footerLabel.setContentMode(Label.CONTENT_XHTML); footerLabel.setValue(i18nManager.getMessage(Messages.FOOTER_MESSAGE)); footerLabel.setWidth(100, UNITS_PERCENTAGE); footer.addComponent(footerLabel); }