本文整理了Java中com.vaadin.ui.TextArea.setPropertyDataSource()
方法的一些代码示例,展示了TextArea.setPropertyDataSource()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextArea.setPropertyDataSource()
方法的具体详情如下:
包路径:com.vaadin.ui.TextArea
类名称:TextArea
方法名:setPropertyDataSource
暂无
代码示例来源:origin: org.aperteworkflow/base-widgets
@Override
public void setPropertyDataSource(Property newDataSource) {
code.setPropertyDataSource(newDataSource);
}
}
代码示例来源:origin: org.aperteworkflow/base-widgets
@Override
public void setPropertyDataSource(Property newDataSource) {
rawText.setPropertyDataSource(newDataSource);
processXml(rawText.getValue());
}
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
@Override
public void itemClick(ItemClickEvent itemClickEvent)
{
logger.debug("table item selected: " + (ErrorCategorisationLink)itemClickEvent.getItemId());
errorCategorisationLink = (ErrorCategorisationLink)itemClickEvent.getItemId();
errorCategorisation = errorCategorisationLink.getErrorCategorisation();
errorCategorisationItem = new BeanItem<ErrorCategorisation>(errorCategorisation);
errorCategorisationLinkItem = new BeanItem<ErrorCategorisationLink>(errorCategorisationLink);
moduleNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("moduleName"));
flowNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowName"));
componentNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowElementName"));
errorCategoryCombo.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorCategory"));
errorMessageTextArea.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorDescription"));
actionCombo.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("action"));
exceptionClassTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("exceptionClass"));
errorMessageTextArea.markAsDirty();
actionCombo.markAsDirty();
errorCategoryCombo.markAsDirty();
componentNameTextField.markAsDirty();
flowNameTextField.markAsDirty();
moduleNameTextField.markAsDirty();
}
});
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
this.isManyToManyCheckbox.setValue(mappingConfiguration.getIsManyToMany());
this.constrainParameterListSizesCheckbox.setValue(mappingConfiguration.getConstrainParameterListSizes());
this.descriptionTextArea.setPropertyDataSource(mappingConfigurationItem.getItemProperty("description"));
this.numberOfSourceParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numberOfParams"));
this.numberOfTargetParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numTargetValues"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
/**
* Method to populate the mapping configuration form.
*/
public void populateMappingConfigurationForm()
{
typeComboBox.setReadOnly(false);
clientComboBox.setReadOnly(false);
sourceContextComboBox.setReadOnly(false);
targetContextComboBox.setReadOnly(false);
this.descriptionTextArea.setReadOnly(false);
this.numberOfSourceParametersTextField.setReadOnly(false);
BeanItem<MappingConfiguration> mappingConfigurationItem = new BeanItem<MappingConfiguration>(this.mappingConfiguration);
this.clientComboBox.setValue(this.mappingConfiguration.getConfigurationServiceClient());
this.typeComboBox.setValue(mappingConfiguration.getConfigurationType());
this.sourceContextComboBox.setValue(mappingConfiguration.getSourceContext());
this.targetContextComboBox.setValue(mappingConfiguration.getTargetContext());
this.descriptionTextArea.setPropertyDataSource(mappingConfigurationItem.getItemProperty("description"));
this.numberOfSourceParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numberOfParams"));
this.numberOfTargetParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numTargetValues"));
typeComboBox.setReadOnly(true);
clientComboBox.setReadOnly(true);
sourceContextComboBox.setReadOnly(true);
targetContextComboBox.setReadOnly(true);
this.descriptionTextArea.setReadOnly(true);
this.numberOfSourceParametersTextField.setReadOnly(true);
}
代码示例来源:origin: org.opennms.features/vaadin-snmp-events-and-metrics
editor.setPropertyDataSource(new TextFileProperty(file));
editor.setImmediate(false);
editor.setSizeFull();
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
textField.setPropertyDataSource(parameterItem.getItemProperty("value"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
textField.setPropertyDataSource(parameterItem.getItemProperty("value"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
roleDescription.setPropertyDataSource(policyItem.getItemProperty("description"));
this.businessStream.setFlows(new HashSet<BusinessStreamFlow>());
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
flowNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowName"));
componentNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowElementName"));
errorMessageTextArea.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorDescription"));
errorCategoryCombo.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorCategory"));
actionCombo.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("action"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
roleDescription.setPropertyDataSource(policyItem.getItemProperty("description"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
description.setPropertyDataSource(serverItem.getItemProperty("description"));
url.setPropertyDataSource(serverItem.getItemProperty("url"));
this.port.setPropertyDataSource(serverItem.getItemProperty("port"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
this.comment.setValidationVisible(false);
this.comment.setNullRepresentation("");
this.comment.setPropertyDataSource(startupControlItem.getItemProperty("comment"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
this.policyDescription.setPropertyDataSource(policyItem.getItemProperty("description"));
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
"You must define an error message between 1 and 2048 characters in length!", 1, 2048, false));
errorMessageTextArea.setValidationVisible(false);
errorMessageTextArea.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorDescription"));
errorMessageTextArea.setRequired(true);
errorMessageTextArea.setWidth("650px");
内容来源于网络,如有侵权,请联系作者删除!