()
| 173 | } |
| 174 | |
| 175 | public void menuPressed() { |
| 176 | if (menuCommand().equals(SR.MS_MENU)) { |
| 177 | showMenu(); |
| 178 | } else { |
| 179 | if (!cf.swapMenu) { |
| 180 | MenuCommand commandOk = findCommand(MenuCommand.OK); |
| 181 | menuAction(commandOk == null ? cmdOk : commandOk, this); |
| 182 | } else { |
| 183 | if (menuCommands.size() == 2) { |
| 184 | MenuCommand commandScreen = findCommand(MenuCommand.SCREEN); |
| 185 | menuAction(commandScreen == null ? cmdOk : commandScreen, this); |
| 186 | } |
| 187 | } |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | public void selectPressed() { |
| 192 | if (cf.swapMenu) { |
no test coverage detected