com.vaadin.v7.ui.TextField.setStyleName()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(133)

本文整理了Java中com.vaadin.v7.ui.TextField.setStyleName()方法的一些代码示例,展示了TextField.setStyleName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextField.setStyleName()方法的具体详情如下:
包路径:com.vaadin.v7.ui.TextField
类名称:TextField
方法名:setStyleName

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("&nbsp;/&nbsp;", ContentMode.HTML);
final Label totalPagesLabel = new Label(String.valueOf(getTotalAmountOfPages()), ContentMode.HTML);
currentPageTextField.setStyleName(ValoTheme.TEXTFIELD_SMALL);
currentPageTextField.setImmediate(true);
currentPageTextField.addValueChangeListener(e -> {

相关文章