org.springframework.richclient.samples.petclinic.ui
Class NewOwnerWizard

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.wizard.AbstractWizard
          extended by org.springframework.richclient.samples.petclinic.ui.NewOwnerWizard
All Implemented Interfaces:
ActionCommandExecutor, TitleConfigurable, Wizard

public class NewOwnerWizard
extends AbstractWizard
implements ActionCommandExecutor


Field Summary
 
Fields inherited from class org.springframework.richclient.wizard.AbstractWizard
DEFAULT_IMAGE_KEY
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
NewOwnerWizard()
           
 
Method Summary
 void addPages()
          This implementation of Wizard.addPages() does nothing.
 void execute()
          Performs the action.
protected  boolean onFinish()
          Subclasses must implement this method to perform any processing when the wizard receives a finish request.
 void setClinic(org.springframework.samples.petclinic.Clinic clinic)
           
 
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, onCancel, 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
 

Constructor Detail

NewOwnerWizard

public NewOwnerWizard()
Method Detail

setClinic

public void setClinic(org.springframework.samples.petclinic.Clinic clinic)

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

execute

public void execute()
Description copied from interface: ActionCommandExecutor
Performs the action.

Specified by:
execute in interface ActionCommandExecutor

onFinish

protected 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.


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.