public void onOK(KeyEvent event) {
Component listitem = event.getReference();
if (listitem instanceof Listitem) {
Bandbox bandbox = (Bandbox) listitem.getParent().getParent()
.getParent();
CriterionRequirementWrapper criterionRequirementWrapper = (CriterionRequirementWrapper) ((Row) bandbox
.getParent().getParent()).getValue();
selectCriterionAndType((Listitem) listitem, bandbox,
criterionRequirementWrapper);