@Override protected void doSetValue(Object value) { for (final RadioItem i : myRadioGroup.getItems()) { if (i.getText().equals(value)) { myRadioGroup.setSelection(i); return; } } }
@Override protected Object doGetValue() { final RadioItem selection = myRadioGroup.getSelection(); if (selection == null) return null; return selection.getText(); }