org.openbp.swing.components.wizard
Interface WizardValidator

All Known Implementing Classes:
WizardPage

public interface WizardValidator

The wizard validator is an interface that a wizard page can implement in order to provide custom control about the forward/backward/finish button enablement.

Author:
Heiko Erhardt

Method Summary
 boolean canCancel()
          Determines if we can cancel the wizard dialog at this point.
 boolean canFinish()
          Determines if we can finish the wizard dialog at this point.
 boolean canMoveBackward()
          Determines if we can return to the previous page.
 boolean canMoveForward()
          Determines if we can advance to the next page.
 

Method Detail

canMoveForward

boolean canMoveForward()
Determines if we can advance to the next page. Default: false.


canMoveBackward

boolean canMoveBackward()
Determines if we can return to the previous page. Default: true.


canFinish

boolean canFinish()
Determines if we can finish the wizard dialog at this point. Default: false.


canCancel

boolean canCancel()
Determines if we can cancel the wizard dialog at this point. Default: false.



Copyright © 2011. All Rights Reserved.