@Override protected void setInternalValue(Collection newValue) { super.setInternalValue(newValue); table.setValue(newValue); }
@Override protected void setInternalValue(Object newValue) { super.setInternalValue(newValue); textfield.setValue(newValue.toString()); }
@Override protected void setInternalValue(T newValue) { super.setInternalValue(newValue); updateLabel(); }
@Override protected void setInternalValue(Collection newValue) { super.setInternalValue(newValue); optionGroup.setValue(newValue); }
@Override protected void setInternalValue(Collection newValue) { this.collection = newValue; String toPresentation = StringUtils.join(collection, joinSeparator); textField.setValue(toPresentation); super.setInternalValue(newValue); }
@Override protected void setInternalValue(Collection<T> newValue) { super.setInternalValue(newValue); select.setValue(newValue); }
@Override protected void setInternalValue(T newValue) { super.setInternalValue(newValue); getSelect().setValue(newValue); }
@Override protected void setInternalValue(Map newValue) { super.setInternalValue(newValue); clearCurrentEditors(); Map<K, V> value = newValue; if (value != null) { for (Map.Entry<K, V> entry : value.entrySet()) { K key = entry.getKey(); V value1 = entry.getValue(); addInternalElement(key, value1); } } if (isAllowNewItems()) { createNewEntryRow(); } onElementAdded(); }
@Override protected void setInternalValue(Collection newValue) { super.setInternalValue(newValue); clear(); Collection<ET> value = newValue; if (value != null) { for (ET v : value) { addInternalElement(v); } } onElementAdded(); }
@Override protected void setInternalValue(T newValue) { super.setInternalValue(newValue); if (newValue == null) { tf.setValue(null); } else { tf.setValue(valueToPresentation(newValue)); } }
@Override protected void setInternalValue(Collection newValue) { selected = newValue; if (selected == null) { Class<Collection> clazz = getType(); if (clazz != null && List.class.isAssignableFrom(clazz)) { selected = new ArrayList(); } else { selected = new HashSet(); } setValue(selected); return; } final ArrayList<ET> arrayList = new ArrayList<>(availableOptions); arrayList.removeAll(selected); cb.setOptions(arrayList); cb.getBic().fireItemSetChange(); cb.setEnabled(selected.size() < limit); table.setBeans(new ArrayList(selected)); super.setInternalValue(newValue); }
@Override protected void setInternalValue(Integer newValue) { super.setInternalValue(newValue); if (newValue == null || newValue <= 0) { disableSelection.setValue(true); periodSelection.setValue(null); combo.setValue(null); } else { disableSelection.setValue(null); periodSelection.setValue(true); if (combo.getItem(newValue) == null) { combo.addItem(newValue); } combo.setValue(newValue); } }