Java 类com.vaadin.ui.AbstractMultiSelect 实例源码

项目:vaadin-fluent-api    文件:FluentAbstractMultiSelect.java   
@SuppressWarnings("unchecked")
public default THIS withItemCaptionGenerator(ItemCaptionGenerator<VALUE> itemCaptionGenerator) {
    ((AbstractMultiSelect<VALUE>) this).setItemCaptionGenerator(itemCaptionGenerator);
    return (THIS) this;
}
项目:vaadin-fluent-api    文件:FluentAbstractMultiSelect.java   
@Override
@SuppressWarnings("unchecked")
public default THIS withValueChangeListener(HasValue.ValueChangeListener<Set<VALUE>> listener) {
    ((AbstractMultiSelect<VALUE>) this).addValueChangeListener(listener);
    return (THIS) this;
}