Module net.anwiba.commons.swing
Class AbstractWizardController
java.lang.Object
net.anwiba.commons.swing.dialog.wizard.AbstractWizardController
- All Implemented Interfaces:
IWizardController
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractWizardController(List<IWizardPage> container, IObjectModel<DataState> dataStateModel) AbstractWizardController(List<IWizardPage> container, IObjectModel<DataState> dataStateModel, IObjectModel<IWizardAction> wizardActionModel) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeListener(IChangeableObjectListener changeableObjectListener) booleanapply()booleancancel()booleanfinish()getIcon()protected IWizardPagegetNext()protected IWizardPagebooleanhasNext()booleanbooleanvoidnext()voidprevious()voidremoveChangeListener(IChangeableObjectListener changeableObjectListener)
-
Constructor Details
-
AbstractWizardController
public AbstractWizardController(List<IWizardPage> container, IObjectModel<DataState> dataStateModel) -
AbstractWizardController
public AbstractWizardController(List<IWizardPage> container, IObjectModel<DataState> dataStateModel, IObjectModel<IWizardAction> wizardActionModel)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIWizardController
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceIWizardController
-
getPrevious
-
getNext
-
previous
public void previous()- Specified by:
previousin interfaceIWizardController
-
next
public void next()- Specified by:
nextin interfaceIWizardController
-
cancel
public boolean cancel()- Specified by:
cancelin interfaceIWizardController
-
finish
public boolean finish()- Specified by:
finishin interfaceIWizardController
-
addChangeListener
- Specified by:
addChangeListenerin interfaceIWizardController
-
removeChangeListener
- Specified by:
removeChangeListenerin interfaceIWizardController
-
getWizardState
- Specified by:
getWizardStatein interfaceIWizardController
-
isFinishable
public boolean isFinishable()- Specified by:
isFinishablein interfaceIWizardController
-
getNextEnabledDistributor
- Specified by:
getNextEnabledDistributorin interfaceIWizardController
-
getBackEnabledDistributor
- Specified by:
getBackEnabledDistributorin interfaceIWizardController
-
getMessage
- Specified by:
getMessagein interfaceIWizardController
-
getIcon
- Specified by:
getIconin interfaceIWizardController
-
getContentPane
- Specified by:
getContentPanein interfaceIWizardController
-
getDataStateDistributor
- Specified by:
getDataStateDistributorin interfaceIWizardController
-
getMessageDistributor
- Specified by:
getMessageDistributorin interfaceIWizardController
-
apply
public boolean apply()- Specified by:
applyin interfaceIWizardController
-