Programmatically move the wizard back one panel. Simulates the user clicking on the 'back' button. Returns true if not on the first panel. @return true if not on the first panel
()
| 323 | * @return true if not on the first panel |
| 324 | */ |
| 325 | public boolean back() { |
| 326 | if (backButton.isEnabled()) { |
| 327 | try { |
| 328 | setCurrentPanel(panelMgr.getPreviousPanel()); |
| 329 | } |
| 330 | catch (IllegalPanelStateException e) { |
| 331 | if (!handleIllegalStateException(e, false)) { |
| 332 | return false; |
| 333 | } |
| 334 | } |
| 335 | String msg = panelMgr.getStatusMessage(); |
| 336 | if (msg != null) { |
| 337 | setStatusMessage(msg); |
| 338 | } |
| 339 | return true; |
| 340 | } |
| 341 | return false; |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Programmatically move the wizard forward one panel. |
no test coverage detected