com.vaadin.ui.CheckBox.setDescription()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(128)

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

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");

相关文章