code: public E getSelectedEnum ()
      {
          int selidx = getSelectedIndex();
          return (selidx < 0) ? null : Enum.valueOf(_eclass, getValue(selidx));
      }
docs: Returns the currently selected value, or null if no value is selected.