public class StrategyWizard extends Object implements IWizard
| Constructor and Description |
|---|
StrategyWizard(IWizard strategy) |
| Modifier and Type | Method and Description |
|---|---|
List<WizardCard> |
getCards() |
WizardCard |
getCurrentCard() |
int |
getCurrentWizardStepNumber() |
int |
getTotalWizardStepsNumber() |
WizardCard |
goToNextCard() |
WizardCard |
goToPreviousCard() |
boolean |
isOnFirstCard() |
boolean |
isOnLastCard() |
void |
setCards(List<WizardCard> cards) |
public StrategyWizard(IWizard strategy)
public WizardCard getCurrentCard()
getCurrentCard in interface IWizardpublic WizardCard goToNextCard() throws Exception
goToNextCard in interface IWizardExceptionpublic WizardCard goToPreviousCard() throws Exception
goToPreviousCard in interface IWizardExceptionpublic boolean isOnFirstCard()
isOnFirstCard in interface IWizardpublic boolean isOnLastCard()
isOnLastCard in interface IWizardpublic List<WizardCard> getCards()
public void setCards(List<WizardCard> cards) throws Exception
public int getCurrentWizardStepNumber()
getCurrentWizardStepNumber in interface IWizardpublic int getTotalWizardStepsNumber()
getTotalWizardStepsNumber in interface IWizardCopyright © 2016. All Rights Reserved.