Пример #1
0
 public void addItem(UISelectItem<T> item) {
   this.uiItems.add(item);
   this.getControl().add(item.getText());
 }
Пример #2
0
 public T getSelectedValue() {
   UISelectItem<T> selectedItem = this.getSelectedItem();
   return (selectedItem != null ? selectedItem.getValue() : null);
 }