org.solovyev.android.wizard
Class BaseWizard

java.lang.Object
  extended by org.solovyev.android.wizard.BaseWizard
All Implemented Interfaces:
Wizard

public class BaseWizard
extends Object
implements Wizard


Constructor Summary
BaseWizard(String name, android.content.Context context, WizardFlow flow)
           
 
Method Summary
 WizardFlow getFlow()
           
 String getLastSavedStepName()
           
 String getName()
           
 boolean isFinished()
           
 boolean isStarted()
           
 void saveFinished(WizardStep step, boolean forceFinish)
           
 void saveLastStep(WizardStep step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseWizard

public BaseWizard(@Nonnull
                  String name,
                  @Nonnull
                  android.content.Context context,
                  @Nonnull
                  WizardFlow flow)
Method Detail

saveLastStep

public void saveLastStep(@Nonnull
                         WizardStep step)
Specified by:
saveLastStep in interface Wizard

saveFinished

public void saveFinished(@Nonnull
                         WizardStep step,
                         boolean forceFinish)
Specified by:
saveFinished in interface Wizard

getLastSavedStepName

@Nullable
public String getLastSavedStepName()
Specified by:
getLastSavedStepName in interface Wizard

isFinished

public boolean isFinished()
Specified by:
isFinished in interface Wizard

isStarted

public boolean isStarted()
Specified by:
isStarted in interface Wizard

getFlow

@Nonnull
public WizardFlow getFlow()
Specified by:
getFlow in interface Wizard

getName

@Nonnull
public String getName()
Specified by:
getName in interface Wizard


Copyright © 2014 se.solovyev. All Rights Reserved.