本文整理了Java中com.vaadin.ui.CheckBox.setPropertyDataSource()
方法的一些代码示例,展示了CheckBox.setPropertyDataSource()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.setPropertyDataSource()
方法的具体详情如下:
包路径:com.vaadin.ui.CheckBox
类名称:CheckBox
方法名:setPropertyDataSource
暂无
代码示例来源:origin: fi.vm.sade.organisaatio/organisaatio-ui-widgets
private CheckBox initializeCheckbox(String messageKey, String debugId, String dataSourceProp, VerticalLayout parentC) {
CheckBox cb = new CheckBox(I18N.getMessage(messageKey));
cb.setDebugId(createDebugId(debugId));
cb.setImmediate(true);
//model.setSuunnitellut(true);
cb.setPropertyDataSource(new NestedMethodProperty(model, dataSourceProp));
cb.addListener(new Property.ValueChangeListener() {
@Override
public void valueChange(ValueChangeEvent event) {
//DEBUGSAWAY:log.debug("checkbox was clicked!!!");
tree.reloadWithSearchData(model);
}
});
parentC.addComponent(cb);
return cb;
}
代码示例来源:origin: org.opencms/opencms-core
hl.setComponentAlignment(checkbox, Alignment.MIDDLE_LEFT);
m_selectionContainer.addItem(deleted.getStructureId());
checkbox.setPropertyDataSource(
m_selectionContainer.getItem(deleted.getStructureId()).getItemProperty(PROP_SELECTED));
m_deletedResourceContainer.addComponent(hl);
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
filterSelected.setPropertyDataSource(filterItem.getItemProperty("selected"));
内容来源于网络,如有侵权,请联系作者删除!