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

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

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

TextField.setDescription介绍

暂无

代码示例

代码示例来源: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: info.magnolia.activation/magnolia-module-activation

private Field<String> createKeyLengthTextField() {
  String caption = i18n.translate("key.length");
  final TextField field = new TextField(caption);
  field.setDescription(caption);
  field.setMaxLength(4);
  field.setRequired(true);
  field.addStyleName("required");
  field.setWidth(100, Unit.PERCENTAGE);
  // force plain input
  field.setColumns(0);
  return field;
}

代码示例来源:origin: OpenNMS/opennms

m_widthField.setDescription("Width of graphs");
m_widthField.setValue(m_dashletSpec.getParameters().get("width"));
m_heightField.setDescription("Height of graphs");
m_heightField.setValue(m_dashletSpec.getParameters().get("height"));
m_timeFrameValue.setDescription("Timeframe value");
m_timeFrameValue.setValue(m_dashletSpec.getParameters().get("timeFrameValue"));

代码示例来源:origin: OpenNMS/opennms

userField.setCaption("User");
userField.setNullRepresentation("");
userField.setDescription("Username for JMX-RMI Authentication");
serviceNameField.addValidator(new RegexpValidator("^[A-Za-z0-9_-]+$",
    "You must specify a valid name. Allowed characters: (A-Za-z0-9_-)"));
serviceNameField.setDescription("The service name of the JMX data collection config, e.g. cassandra, jboss, tomcat");
connectionTextField.setRequired(true);
connectionTextField.setRequiredError("required");
connectionTextField.setDescription("The JMX connection string, e.g.: <hostname>:<port> OR service:jmx:<protocol>:<sap>");

代码示例来源:origin: OpenNMS/opennms

timeRangeFrom.setDescription("Start of time range to be displayed");
timeRangeFrom.setImmediate(true);
timeRangeFrom.setWidth("60%");
timeRangeTo.setDescription("End of time range to be displayed");
timeRangeTo.setImmediate(true);
timeRangeTo.setWidth("60%");

代码示例来源:origin: OpenNMS/opennms

priorityField.setImmediate(true);
priorityField.setCaption("Priority");
priorityField.setDescription("Priority of this dashlet");
boostPriorityField.setImmediate(true);
boostPriorityField.setCaption("Boost-Priority");
boostPriorityField.setDescription("Boost priority of this dashlet");
durationField.setImmediate(true);
durationField.setCaption("Duration");
durationField.setDescription("Duration for this dashlet");
boostDurationField.setImmediate(true);
boostDurationField.setCaption("Boost-Duration");
boostDurationField.setDescription("Boost duration for this dashlet");
m_titleField.setImmediate(true);
m_titleField.setCaption("Title");
m_titleField.setDescription("Title for this dashlet instance");

代码示例来源:origin: OpenNMS/opennms

labelField.setImmediate(true);
labelField.setCaption("Label");
labelField.setDescription("Label of this category");
labelField.setWidth(100, Unit.PERCENTAGE);

代码示例来源:origin: OpenNMS/opennms

titleField.setDescription("Title for this Ops Board configuration");
titleField.setValue(wallboard.getTitle());
titleField.setImmediate(true);

代码示例来源:origin: OpenNMS/opennms

titleField.setImmediate(true);
titleField.setCaption("Title");
titleField.setDescription("Title of this surveillance view");
titleField.setWidth(25, Unit.PERCENTAGE);
refreshSecondsField.setImmediate(true);
refreshSecondsField.setCaption("Refresh seconds");
refreshSecondsField.setDescription("Refresh duration in seconds");

相关文章