public void addItem(UISelectItem<T> item) { this.uiItems.add(item); this.getControl().add(item.getText()); }
public T getSelectedValue() { UISelectItem<T> selectedItem = this.getSelectedItem(); return (selectedItem != null ? selectedItem.getValue() : null); }