| Constructor and Description |
|---|
ArrayWizard(List<WizardCard> startingCards) |
| 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 ArrayWizard(List<WizardCard> startingCards)
public WizardCard getCurrentCard()
getCurrentCard in interface IWizardpublic boolean isOnFirstCard()
isOnFirstCard in interface IWizardpublic boolean isOnLastCard()
isOnLastCard in interface IWizardpublic List<WizardCard> getCards()
public void setCards(List<WizardCard> cards)
public WizardCard goToNextCard() throws Exception
goToNextCard in interface IWizardExceptionpublic WizardCard goToPreviousCard() throws Exception
goToPreviousCard in interface IWizardExceptionpublic int getCurrentWizardStepNumber()
getCurrentWizardStepNumber in interface IWizardpublic int getTotalWizardStepsNumber()
getTotalWizardStepsNumber in interface IWizardCopyright © 2014. All Rights Reserved.