本文整理了Java中com.vaadin.v7.ui.TextField.setNullSettingAllowed()
方法的一些代码示例,展示了TextField.setNullSettingAllowed()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextField.setNullSettingAllowed()
方法的具体详情如下:
包路径:com.vaadin.v7.ui.TextField
类名称:TextField
方法名:setNullSettingAllowed
暂无
代码示例来源:origin: OpenNMS/opennms
field.setImmediate(true);
field.setRequired(true);
field.setNullSettingAllowed(false);
field.setConverter(new StringToIntegerConverter());
return field;
field.setImmediate(true);
field.setRequired(true);
field.setNullSettingAllowed(false);
field.setConverter(new StringToDoubleConverter());
return field;
代码示例来源:origin: OpenNMS/opennms
/**
* Instantiates a new system definition choice field.
*
* @param caption the caption
*/
public SystemDefChoiceField(String caption) {
setCaption(caption);
oidType.setNullSelectionAllowed(false);
oidType.select("Single");
oidValue.setWidth("100%");
oidValue.setNullSettingAllowed(false);
oidValue.setRequired(true);
oidValue.setImmediate(true);
oidValue.addValidator(new RegexpValidator("^\\.[.\\d]+$", "Invalid OID {0}"));
}
代码示例来源:origin: OpenNMS/opennms
m_friendlyNameField.setImmediate(true);
m_friendlyNameField.setValidationVisible(true);
m_friendlyNameField.setNullSettingAllowed(true);
m_friendlyNameField.setNullRepresentation("");
m_friendlyNameField.setMaxLength(FRIENDLY_NAME_MAXLENGTH);
代码示例来源:origin: OpenNMS/opennms
fileName.setNullSettingAllowed(false);
fileName.setWidth("100%");
fileName.setRequired(true);
代码示例来源:origin: OpenNMS/opennms
ueiBase.setNullSettingAllowed(false);
ueiBase.setWidth("100%");
ueiBase.setRequired(true);
代码示例来源:origin: OpenNMS/opennms
step.setImmediate(true);
step.setValidationVisible(true);
step.setNullSettingAllowed(false);
step.setConverter(new StringToIntegerConverter());
代码示例来源:origin: OpenNMS/opennms
m_nameTextField.setId("nameField");
m_nameTextField.setNullRepresentation("");
m_nameTextField.setNullSettingAllowed(true);
m_nameTextField.setValue(businessService.getName());
m_nameTextField.setWidth(100, Unit.PERCENTAGE);
代码示例来源:origin: OpenNMS/opennms
groupName.setNullSettingAllowed(false);
groupName.setImmediate(true);
if (isExistingGroup()) { // If we allow to rename an existing group, we should modify the SNMP Collection as well
内容来源于网络,如有侵权,请联系作者删除!