本文整理了Java中com.vaadin.ui.CheckBox.setDescription()
方法的一些代码示例,展示了CheckBox.setDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.setDescription()
方法的具体详情如下:
包路径:com.vaadin.ui.CheckBox
类名称:CheckBox
方法名:setDescription
暂无
代码示例来源:origin: org.eclipse.hawkbit/hawkbit-ui
private void setCheckBoxTooltip(final String label) {
checkBox.setDescription(label);
}
代码示例来源:origin: eclipse/hawkbit
private void setCheckBoxTooltip(final String label) {
checkBox.setDescription(label);
}
代码示例来源:origin: org.opennms.features/vaadin-surveillance-views
public Object generateCell(Table source, final Object itemId, Object columnId) {
CheckBox checkBox = new CheckBox();
checkBox.setImmediate(true);
checkBox.setDescription("Make this Surveillance View configuration the default");
final View view = m_beanItemContainer.getItem(itemId).getBean();
checkBox.setValue(SurveillanceViewProvider.getInstance().getSurveillanceViewConfiguration().getDefaultView().equals(view.getName()));
checkBox.addValueChangeListener(new Property.ValueChangeListener() {
@Override
public void valueChange(Property.ValueChangeEvent valueChangeEvent) {
boolean newValue = ((Boolean) valueChangeEvent.getProperty().getValue());
if (newValue) {
SurveillanceViewProvider.getInstance().getSurveillanceViewConfiguration().setDefaultView(view.getName());
}
m_table.refreshRowCache();
SurveillanceViewProvider.getInstance().save();
((SurveillanceViewsConfigUI) getUI()).notifyMessage("Data saved", "Default surveillance view");
}
});
return checkBox;
}
}
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
cb.setDescription("Select in order to bulk replay.");
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
cb.setDescription("Select in order to add to bulk download.");
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
cb.setDescription("Select in order to add to bulk download.");
代码示例来源:origin: org.opennms.features.vaadin-dashlets/dashlet-charts
m_maximizeWidth.setDescription("Maximize width");
m_maximizeHeight.setDescription("Maximize height");
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
cb.setDescription("Select in order perform action.");
代码示例来源:origin: org.opennms.features/vaadin-jmxconfiggenerator
authenticateField.setDescription("Connection requires authentication");
内容来源于网络,如有侵权,请联系作者删除!