/** * @param itemValues the itemsSelected to set * @see #setValue(List) */ public void setItemValues(List<String> itemValues) { if (itemValues == null) { clear(); return; } List<Suggestion> list = new ArrayList<>(itemValues.size()); for (String value : itemValues) { Suggestion suggestion = new gwt.material.design.client.base.Suggestion(value, value); list.add(suggestion); } setValue(list); }
@Override public void setValue(List<? extends Suggestion> value) { setValue(value, false); }