(int keyCode)
| 85 | public void captionPressed() {} |
| 86 | |
| 87 | public void doKeyAction(int keyCode) { |
| 88 | if (executeByNum && getItemCount() > 0 && keyCode >=0 && keyCode <= 9) { |
| 89 | executeCommand(keyCode); |
| 90 | return; |
| 91 | } |
| 92 | super.doKeyAction(keyCode); |
| 93 | } |
| 94 | |
| 95 | private void executeCommand(int index) { |
| 96 | moveCursorTo(index == 0 ? 9 : index - 1); |
nothing calls this directly
no test coverage detected