Class AbstractWizardController
- java.lang.Object
-
- net.anwiba.commons.swing.dialog.wizard.AbstractWizardController
-
- All Implemented Interfaces:
IWizardController
public abstract class AbstractWizardController extends java.lang.Object implements IWizardController
-
-
Constructor Summary
Constructors Constructor Description AbstractWizardController(java.util.List<IWizardPage> container, IObjectModel<DataState> dataStateModel)AbstractWizardController(java.util.List<IWizardPage> container, IObjectModel<DataState> dataStateModel, IObjectModel<IWizardAction> wizardActionModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChangeListener(IChangeableObjectListener changeableObjectListener)booleanapply()booleancancel()booleanfinish()IBooleanDistributorgetBackEnabledDistributor()java.awt.ContainergetContentPane()IObjectDistributor<DataState>getDataStateDistributor()javax.swing.IcongetIcon()IMessagegetMessage()IObjectDistributor<java.lang.String>getMessageDistributor()protected IWizardPagegetNext()IBooleanDistributorgetNextEnabledDistributor()protected IWizardPagegetPrevious()IWizardStategetWizardState()booleanhasNext()booleanhasPrevious()booleanisFinishable()voidnext()voidprevious()voidremoveChangeListener(IChangeableObjectListener changeableObjectListener)
-
-
-
Constructor Detail
-
AbstractWizardController
public AbstractWizardController(java.util.List<IWizardPage> container, IObjectModel<DataState> dataStateModel)
-
AbstractWizardController
public AbstractWizardController(java.util.List<IWizardPage> container, IObjectModel<DataState> dataStateModel, IObjectModel<IWizardAction> wizardActionModel)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIWizardController
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceIWizardController
-
getPrevious
protected IWizardPage getPrevious()
-
getNext
protected IWizardPage 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
public void addChangeListener(IChangeableObjectListener changeableObjectListener)
- Specified by:
addChangeListenerin interfaceIWizardController
-
removeChangeListener
public void removeChangeListener(IChangeableObjectListener changeableObjectListener)
- Specified by:
removeChangeListenerin interfaceIWizardController
-
getWizardState
public IWizardState getWizardState()
- Specified by:
getWizardStatein interfaceIWizardController
-
isFinishable
public boolean isFinishable()
- Specified by:
isFinishablein interfaceIWizardController
-
getNextEnabledDistributor
public IBooleanDistributor getNextEnabledDistributor()
- Specified by:
getNextEnabledDistributorin interfaceIWizardController
-
getBackEnabledDistributor
public IBooleanDistributor getBackEnabledDistributor()
- Specified by:
getBackEnabledDistributorin interfaceIWizardController
-
getMessage
public IMessage getMessage()
- Specified by:
getMessagein interfaceIWizardController
-
getIcon
public javax.swing.Icon getIcon()
- Specified by:
getIconin interfaceIWizardController
-
getContentPane
public java.awt.Container getContentPane()
- Specified by:
getContentPanein interfaceIWizardController
-
getDataStateDistributor
public IObjectDistributor<DataState> getDataStateDistributor()
- Specified by:
getDataStateDistributorin interfaceIWizardController
-
getMessageDistributor
public IObjectDistributor<java.lang.String> getMessageDistributor()
- Specified by:
getMessageDistributorin interfaceIWizardController
-
apply
public boolean apply()
- Specified by:
applyin interfaceIWizardController
-
-