本文整理了Java中com.vaadin.ui.Label.setSizeUndefined()
方法的一些代码示例,展示了Label.setSizeUndefined()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.setSizeUndefined()
方法的具体详情如下:
包路径:com.vaadin.ui.Label
类名称:Label
方法名:setSizeUndefined
暂无
代码示例来源:origin: org.activiti/activiti-explorer
protected void addEmptySpace(ComponentContainer container) {
Label emptySpace = new Label(" ", Label.CONTENT_XHTML);
emptySpace.setSizeUndefined();
container.addComponent(emptySpace);
}
代码示例来源:origin: org.activiti/activiti-explorer
protected void addEmptySpace(ComponentContainer container) {
Label emptySpace = new Label(" ", Label.CONTENT_XHTML);
emptySpace.setSizeUndefined();
container.addComponent(emptySpace);
}
代码示例来源:origin: org.activiti/activiti-explorer
protected void addEmptySpace(ComponentContainer container) {
Label emptySpace = new Label(" ", Label.CONTENT_XHTML);
emptySpace.setSizeUndefined();
container.addComponent(emptySpace);
}
代码示例来源:origin: org.activiti/activiti-explorer
protected void addEmptySpace(ComponentContainer container) {
Label emptySpace = new Label(" ", Label.CONTENT_XHTML);
emptySpace.setSizeUndefined();
container.addComponent(emptySpace);
}
代码示例来源:origin: org.activiti/activiti-explorer
protected void addEmptySpace(ComponentContainer container) {
Label emptySpace = new Label(" ", Label.CONTENT_XHTML);
emptySpace.setSizeUndefined();
container.addComponent(emptySpace);
}
代码示例来源:origin: org.eclipse.hawkbit/hawkbit-ui
private static Label getPercentHintLabel() {
final Label percentSymbol = new Label("%");
percentSymbol.addStyleName(ValoTheme.LABEL_TINY + " " + ValoTheme.LABEL_BOLD);
percentSymbol.setSizeUndefined();
return percentSymbol;
}
代码示例来源:origin: org.activiti/activiti-explorer
protected void addEmptySpace(ComponentContainer container) {
Label emptySpace = new Label(" ", Label.CONTENT_XHTML);
emptySpace.setSizeUndefined();
container.addComponent(emptySpace);
}
}
代码示例来源:origin: org.activiti/activiti-explorer
protected void addLabel(String messageKey) {
Label theLabel = new Label(i18nManager.getMessage(messageKey));
theLabel.setSizeUndefined();
gridLayout.addComponent(theLabel);
}
代码示例来源:origin: org.activiti/activiti-explorer
protected void addOrLabel() {
Label orLabel = new Label("or");
orLabel.setSizeUndefined();
orLabel.addStyleName(Reindeer.LABEL_SMALL);
addComponent(orLabel);
setComponentAlignment(orLabel, Alignment.MIDDLE_CENTER);
}
代码示例来源:origin: org.activiti/activiti-explorer
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);
}
代码示例来源:origin: eclipse/hawkbit
private static Label createUnassignedTargetsLabel() {
final Label label = new LabelBuilder().visible(false).name("").buildLabel();
label.addStyleName("rollout-group-unassigned");
label.setSizeUndefined();
return label;
}
代码示例来源:origin: eclipse/hawkbit
private static Label createGroupTargetsLabel() {
final Label label = new LabelBuilder().visible(false).name("").buildLabel();
label.addStyleName("rollout-group-count");
label.setSizeUndefined();
return label;
}
代码示例来源:origin: org.eclipse.hawkbit/hawkbit-ui
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;
}
代码示例来源:origin: eclipse/hawkbit
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;
}
代码示例来源:origin: eclipse/hawkbit
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;
}
代码示例来源:origin: org.eclipse.hawkbit/hawkbit-ui
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;
}
代码示例来源:origin: peholmst/vaadin4spring
@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));
}
}
}
代码示例来源:origin: org.activiti/activiti-explorer
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);
}
代码示例来源:origin: vaadin/material-theme-fw8
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);
}
代码示例来源:origin: org.eclipse.hawkbit/hawkbit-ui
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;
}
内容来源于网络,如有侵权,请联系作者删除!