本文整理了Java中com.vaadin.v7.ui.TextField.setStyleName()
方法的一些代码示例,展示了TextField.setStyleName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextField.setStyleName()
方法的具体详情如下:
包路径:com.vaadin.v7.ui.TextField
类名称:TextField
方法名:setStyleName
暂无
代码示例来源:origin: OpenNMS/opennms
public AbstractField<String> getComponent(CriteriaBuilderHelper criteriaBuilderHelper) {
TextField textField = new TextField();
textField.setCaption("Value");
textField.setStyleName("small");
textField.setDescription("Value");
return textField;
}
},
代码示例来源:origin: OpenNMS/opennms
public AbstractField<String> getComponent(CriteriaBuilderHelper criteriaBuilderHelper) {
TextField textField = new TextField();
textField.setCaption("Text value");
textField.setStyleName("small");
textField.setDescription("Text value");
return textField;
}
},
代码示例来源:origin: OpenNMS/opennms
public AbstractField<String> getComponent(CriteriaBuilderHelper criteriaBuilderHelper) {
TextField textField = new TextField();
textField.setCaption("Integer value");
textField.setStyleName("small");
textField.setDescription("Integer value");
return textField;
}
};
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
private ColorPickerPreview() {
setStyleName("v-colorpicker-preview");
field = new TextField();
field.setImmediate(true);
field.setSizeFull();
field.setStyleName("v-colorpicker-preview-textfield");
field.setData(this);
field.addValueChangeListener(this);
addComponent(field);
}
代码示例来源:origin: tepi/FilteringTable
Label separatorLabel = new Label(" / ", ContentMode.HTML);
final Label totalPagesLabel = new Label(String.valueOf(getTotalAmountOfPages()), ContentMode.HTML);
currentPageTextField.setStyleName(ValoTheme.TEXTFIELD_SMALL);
currentPageTextField.setImmediate(true);
currentPageTextField.addValueChangeListener(e -> {
内容来源于网络,如有侵权,请联系作者删除!