org.springframework.richclient.application.setup
Class SetupWizard
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.wizard.AbstractWizard
org.springframework.richclient.application.setup.SetupWizard
- All Implemented Interfaces:
- ActionCommandExecutor, TitleConfigurable, Wizard
public class SetupWizard
- extends AbstractWizard
- implements ActionCommandExecutor
- Author:
- Claudio Romano, Keith Donald
Methods inherited from class org.springframework.richclient.wizard.AbstractWizard |
addForm, addPage, addPage, addWizardListener, canFinish, fireCancelPerformed, fireFinishedPerformed, getContainer, getDefaultPageImage, getId, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitle, needsPreviousAndNextButtons, performCancel, performFinish, removePage, removeWizardListener, setAutoConfigureChildPages, setContainer, setForcePreviousAndNextButtons, setTitle |
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetupWizard
public SetupWizard()
setLicenseTextLocation
public void setLicenseTextLocation(Resource location)
execute
public void execute()
- Description copied from interface:
ActionCommandExecutor
- Performs the action.
- Specified by:
execute
in interface ActionCommandExecutor
addPages
public void addPages()
- Description copied from class:
AbstractWizard
- This implementation of
Wizard.addPages()
does nothing. Subclasses should override
this method if extra pages need to be added before the wizard is displayed. New pages should
be added by calling AbstractWizard.addPage(WizardPage)
.
- Specified by:
addPages
in interface Wizard
- Overrides:
addPages
in class AbstractWizard
onFinish
public boolean onFinish()
- Description copied from class:
AbstractWizard
- Subclasses must implement this method to perform any processing when the wizard receives a
finish request.
- Specified by:
onFinish
in class AbstractWizard
- Returns:
true
to indicate that the finish request was accepted, false
to
indicate that it was refused.
onCancel
public boolean onCancel()
- Description copied from class:
AbstractWizard
- Subclasses can override this method to perform processing when the wizard receives a cancel
request. This default implementation always returns true.
- Overrides:
onCancel
in class AbstractWizard
cancelConfirmed
protected boolean cancelConfirmed()
getCancelTitle
protected String getCancelTitle()
getCancelMessage
protected String getCancelMessage()
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.