boolean (Object component, boolean shiftdown, boolean controldown, int keychar, int keycode, String itemname, String leafname) { if ((keycode == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_UP) || (keycode == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_DOWN) || (keycode == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_PAGE_UP) || (keycode == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_PAGE_DOWN) || (keycode == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_HOME) || (keycode == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_END)) { Object lead = get(component, "lead"); Object row = getListItem(component, component, keycode, lead, itemname, leafname); if (row != null) { String selection = getString(component, "selection", "single"); if (shiftdown && (selection != "single") && (lead != null)) { extend(component, lead, row, itemname, leafname); } else if (!controldown) { selectItem(component, row, itemname, leafname); } setLead(component, lead, row); <error descr="Cannot resolve symbol 'Rectangle'">Rectangle</error> r = getRectangle(row, "bounds"); scrollToVisible(component, r.<error descr="Cannot resolve symbol 'x'">x</error>, r.<error descr="Cannot resolve symbol 'y'">y</error>, 0, r.<error descr="Cannot resolve symbol 'height'">height</error> - 1); return true; } } else if (keychar == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_SPACE) { select(component, get(component, "lead"), itemname, leafname, shiftdown, controldown); //... return true; } else if (controldown) { if (((keycode == <error descr="Cannot resolve symbol 'KeyEvent'">KeyEvent</error>.VK_A) || (keycode == 0xBF)) && //KeyEvent.VK_SLASH (getString(component, "selection", "single") != "single")) { selectAll(component, true, itemname, leafname); return true; } else if (keycode == 0xDC) { //KeyEvent.VK_BACK_SLASH selectAll(component, false, itemname, leafname); return true; } } return false; }