(int command_id)
| 234 | } |
| 235 | |
| 236 | public boolean doUserKeyAction(int command_id) { |
| 237 | switch (command_id) { |
| 238 | case 22: |
| 239 | moveCursorHome(); |
| 240 | return true; |
| 241 | case 23: |
| 242 | moveCursorEnd(); |
| 243 | return true; |
| 244 | case 24: |
| 245 | keyDwn(); |
| 246 | return true; |
| 247 | case 25: |
| 248 | keyUp(); |
| 249 | return true; |
| 250 | case 26: |
| 251 | pageLeft(); |
| 252 | return true; |
| 253 | case 27: |
| 254 | pageRight(); |
| 255 | return true; |
| 256 | case 28: |
| 257 | if (canBack == true) |
| 258 | destroyView(); |
| 259 | return true; |
| 260 | case 29: |
| 261 | keyClear(); |
| 262 | return true; |
| 263 | case 34: |
| 264 | showInfo(); |
| 265 | return true; |
| 266 | case 35: |
| 267 | eventOk(); |
| 268 | return true; |
| 269 | case 36: |
| 270 | touchLeftPressed(); |
| 271 | return true; |
| 272 | case 37: |
| 273 | touchRightPressed(); |
| 274 | return true; |
| 275 | case 48: |
| 276 | pageLeft(); |
| 277 | return true; |
| 278 | case 49: |
| 279 | pageRight(); |
| 280 | return true; |
| 281 | } |
| 282 | |
| 283 | return false; |
| 284 | } |
| 285 | |
| 286 | |
| 287 | public static boolean showTimeTraffic = true; |
no test coverage detected