protected void addEmptySpace(ComponentContainer container) { Label emptySpace = new Label(" ", Label.CONTENT_XHTML); emptySpace.setSizeUndefined(); container.addComponent(emptySpace); }
protected void addEmptySpace(ComponentContainer container) { Label emptySpace = new Label(" ", Label.CONTENT_XHTML); emptySpace.setSizeUndefined(); container.addComponent(emptySpace); }
protected void addEmptySpace(ComponentContainer container) { Label emptySpace = new Label(" ", Label.CONTENT_XHTML); emptySpace.setSizeUndefined(); container.addComponent(emptySpace); }
protected void addEmptySpace(ComponentContainer container) { Label emptySpace = new Label(" ", Label.CONTENT_XHTML); emptySpace.setSizeUndefined(); container.addComponent(emptySpace); }
protected void addEmptySpace(ComponentContainer container) { Label emptySpace = new Label(" ", Label.CONTENT_XHTML); emptySpace.setSizeUndefined(); container.addComponent(emptySpace); }
private static Label getPercentHintLabel() { final Label percentSymbol = new Label("%"); percentSymbol.addStyleName(ValoTheme.LABEL_TINY + " " + ValoTheme.LABEL_BOLD); percentSymbol.setSizeUndefined(); return percentSymbol; }
protected void addEmptySpace(ComponentContainer container) { Label emptySpace = new Label(" ", Label.CONTENT_XHTML); emptySpace.setSizeUndefined(); container.addComponent(emptySpace); } }
protected void addLabel(String messageKey) { Label theLabel = new Label(i18nManager.getMessage(messageKey)); theLabel.setSizeUndefined(); gridLayout.addComponent(theLabel); }
protected void addOrLabel() { Label orLabel = new Label("or"); orLabel.setSizeUndefined(); orLabel.addStyleName(Reindeer.LABEL_SMALL); addComponent(orLabel); setComponentAlignment(orLabel, Alignment.MIDDLE_CENTER); }
protected void addSimpleRow(String labelMessageKey, String content) { addLabel(labelMessageKey); Label subjectLabel = new Label(content); subjectLabel.setSizeUndefined(); subjectLabel.addStyleName(ExplorerLayout.STYLE_LABEL_BOLD); gridLayout.addComponent(subjectLabel); gridLayout.setComponentAlignment(subjectLabel, Alignment.MIDDLE_LEFT); }
private static Label createUnassignedTargetsLabel() { final Label label = new LabelBuilder().visible(false).name("").buildLabel(); label.addStyleName("rollout-group-unassigned"); label.setSizeUndefined(); return label; }
private static Label createGroupTargetsLabel() { final Label label = new LabelBuilder().visible(false).name("").buildLabel(); label.addStyleName("rollout-group-count"); label.setSizeUndefined(); return label; }
private static Label createCountLabel() { final Label groupSize = new LabelBuilder().visible(false).name("").buildLabel(); groupSize.addStyleName(ValoTheme.LABEL_TINY + " " + "rollout-target-count-message"); groupSize.setImmediate(true); groupSize.setSizeUndefined(); return groupSize; }
private static Label createCountLabel() { final Label groupSize = new LabelBuilder().visible(false).name("").buildLabel(); groupSize.addStyleName(ValoTheme.LABEL_TINY + " " + "rollout-target-count-message"); groupSize.setImmediate(true); groupSize.setSizeUndefined(); return groupSize; }
private static Label createTotalTargetsLabel() { final Label label = new LabelBuilder().visible(false).name("").buildLabel(); label.addStyleName("rollout-target-count-title"); label.setImmediate(true); label.setSizeUndefined(); return label; }
private static Label createTotalTargetsLabel() { final Label label = new LabelBuilder().visible(false).name("").buildLabel(); label.addStyleName("rollout-target-count-title"); label.setImmediate(true); label.setSizeUndefined(); return label; }
@Override public void createSection(CssLayout compositionRoot, SideBarSectionDescriptor descriptor, Collection<SideBarItemDescriptor> itemDescriptors) { Label header = new Label(); header.setValue(descriptor.getCaption()); header.setSizeUndefined(); header.setPrimaryStyleName(ValoTheme.MENU_SUBTITLE); compositionRoot.addComponent(header); for (SideBarItemDescriptor item : itemDescriptors) { compositionRoot.addComponent(itemComponentFactory.createItemComponent(item)); } } }
protected void addProfileInputField(GridLayout layout, String name, AbstractField inputField, String inputFieldValue) { Label label = new Label(name + ": "); label.addStyleName(ExplorerLayout.STYLE_PROFILE_FIELD); label.setSizeUndefined(); layout.addComponent(label); layout.setComponentAlignment(label, Alignment.MIDDLE_LEFT); if (inputFieldValue != null) { inputField.setValue(inputFieldValue); } layout.addComponent(inputField); layout.setComponentAlignment(inputField, Alignment.MIDDLE_LEFT); }
public AppBar() { super(); setPrimaryStyleName("md-appbar"); addStyleName(MaterialColor.BLUE_500.getBackgroundColorStyle()); naviIcon.setIcon(MaterialIcons.MENU); naviIcon.setPrimaryStyleName(Styles.Buttons.NAV_ICON); Label appBarTitle = new Label("Material Design"); appBarTitle.setPrimaryStyleName(Typography.Light.Title.PRIMARY); appBarTitle.setSizeUndefined(); addComponents(naviIcon, appBarTitle); }
private Label createLoadingLabel() { final Label label = new LabelBuilder().visible(false).name("").buildLabel(); label.addStyleName("rollout-target-count-loading"); label.setImmediate(true); label.setSizeUndefined(); label.setValue(i18n.getMessage("label.rollout.calculating")); return label; }