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

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

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

TextField.setImmediate介绍

暂无

代码示例

代码示例来源: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: OpenNMS/opennms

field.setImmediate(true);
field.setRequired(true);
field.setNullSettingAllowed(false);
field.setImmediate(true);
field.setRequired(true);
field.setNullSettingAllowed(false);

代码示例来源: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

field.setSizeFull();
field.setRequired(true);
field.setImmediate(true);
field.addValidator(new RegexpValidator("^\\.[.\\d]+$", "Invalid OID {0}"));
return field;
field.setSizeFull();
field.setRequired(true);
field.setImmediate(true);
field.addValidator(new StringLengthValidator("Invalid alias. It should not contain more than 19 characters.", 1, 19, false));
return field;
field.setSizeFull();
field.setRequired(true);
field.setImmediate(true);
field.addValidator(new RegexpValidator("^(?i)(counter|gauge|timeticks|integer|octetstring|string)?\\d*$", // Based on NumericAttributeType and StringAttributeType
    "Invalid type {0}. Valid types are: counter, gauge, timeticks, integer, octetstring, string"));

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

m_timeFrameValue.setImmediate(true);

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

timeRangeFrom.setCaption("From");
timeRangeFrom.setDescription("Start of time range to be displayed");
timeRangeFrom.setImmediate(true);
timeRangeFrom.setWidth("60%");
timeRangeFrom.setTextChangeEventMode(AbstractTextField.TextChangeEventMode.EAGER);
timeRangeTo.setCaption("To");
timeRangeTo.setDescription("End of time range to be displayed");
timeRangeTo.setImmediate(true);
timeRangeTo.setWidth("60%");
timeRangeTo.setTextChangeEventMode(AbstractTextField.TextChangeEventMode.EAGER);

代码示例来源: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.setId("opsboard.duration");
durationField.setValue(String.valueOf(dashletSpec.getDuration()));
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.setId("opsboard.title");
m_titleField.setValue(dashletSpec.getTitle());
m_titleField.setImmediate(true);
m_titleField.setCaption("Title");
m_titleField.setDescription("Title for this dashlet instance");

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

m_reductionKeyComponent.setWidth(100.0f, Unit.PERCENTAGE);
m_reductionKeyComponent.setVisible(false);
m_reductionKeyComponent.setImmediate(true);
m_reductionKeyComponent.setValidationVisible(true);
formLayout.addComponent(m_reductionKeyComponent);
m_friendlyNameField.setWidth(100.0f, Unit.PERCENTAGE);
m_friendlyNameField.setVisible(false);
m_friendlyNameField.setImmediate(true);
m_friendlyNameField.setValidationVisible(true);
m_friendlyNameField.setNullSettingAllowed(true);
m_weightField.setImmediate(true);
m_weightField.setValidationVisible(true);
formLayout.addComponent(m_weightField);

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

editableField.setValidationVisible(false);
editableField.setBuffered(false);
editableField.setImmediate(true);
editableField.addValidator(nameValidator);
editableField.addValueChangeListener(new Property.ValueChangeListener() {

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

m_keyInputField.setId("keyField");
m_keyInputField.selectAll();
m_keyInputField.setImmediate(true);
m_keyInputField.focus();
m_valueInputField.setId("valueField");
m_valueInputField.selectAll();
m_valueInputField.setImmediate(true);

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

step.setImmediate(true);
step.setValidationVisible(true);
step.setNullSettingAllowed(false);

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

filterTextField.setInputPrompt("Filter");
filterTextField.setId("filterTextField");
filterTextField.setImmediate(true);

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

m_thresholdTextField.setRequired(false);
m_thresholdTextField.setEnabled(false);
m_thresholdTextField.setImmediate(true);
m_thresholdTextField.setWidth(100.0f, Unit.PERCENTAGE);
m_thresholdTextField.setValue("0.0");
m_exponentialPropagationBaseTextField.setRequired(false);
m_exponentialPropagationBaseTextField.setEnabled(false);
m_exponentialPropagationBaseTextField.setImmediate(true);
m_exponentialPropagationBaseTextField.setWidth(100.0f, Unit.PERCENTAGE);
m_exponentialPropagationBaseTextField.setValue("2.0");

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

m_inputField.focus();
m_inputField.selectAll();
m_inputField.setImmediate(true);

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

groupName.setImmediate(true);
if (isExistingGroup()) { // If we allow to rename an existing group, we should modify the SNMP Collection as well
  groupName.setEnabled(false);

代码示例来源:origin: tepi/FilteringTable

final Label totalPagesLabel = new Label(String.valueOf(getTotalAmountOfPages()), ContentMode.HTML);
currentPageTextField.setStyleName(ValoTheme.TEXTFIELD_SMALL);
currentPageTextField.setImmediate(true);
currentPageTextField.addValueChangeListener(e -> {
  if (currentPageTextField.isValid() && currentPageTextField.getValue() != null) {

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

labelField.setImmediate(true);
labelField.setCaption("Label");
labelField.setDescription("Label of this category");

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

titleField.setDescription("Title for this Ops Board configuration");
titleField.setValue(wallboard.getTitle());
titleField.setImmediate(true);
titleField.addValidator(new AbstractStringValidator("Title must be unique") {
  @Override

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

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

相关文章