/** * Remove the first option that matches the given value */ public void removeOption(String value) { int indexOf = indexOf(value); if (indexOf >= 0) { int i = getSelectedIndex(); if (i == indexOf) internSetSelectedIndex(-1); select.removeItem(indexOf); } }
/** * Remove the first option that matches the given value */ public void removeOption(String value) { int indexOf = indexOf(value); if (indexOf >= 0) { int i = getSelectedIndex(); if (i == indexOf) internSetSelectedIndex(-1); select.removeItem(indexOf); } }
/** * Remove the first option that matches the given value */ public void removeOption(String value) { int indexOf = indexOf(value); if (indexOf >= 0) { int i = getSelectedIndex(); if (i == indexOf) internSetSelectedIndex(-1); select.removeItem(indexOf); } }