org.springframework.richclient.wizard
Class ExtendedWizardDialog

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.dialog.ApplicationDialog
          extended by org.springframework.richclient.dialog.TitledApplicationDialog
              extended by org.springframework.richclient.wizard.WizardDialog
                  extended by org.springframework.richclient.wizard.ExtendedWizardDialog
All Implemented Interfaces:
PropertyChangeListener, EventListener, PropertyChangePublisher, DescriptionConfigurable, Guarded, TitleConfigurable, Messagable, ImageConfigurable, WizardContainer

public class ExtendedWizardDialog
extends WizardDialog

Wizard dialog that additionally adds a panel to the dialog showing the page path and the current page.

Author:
Schaubroeck N.V.

Field Summary
 
Fields inherited from class org.springframework.richclient.wizard.WizardDialog
backCommand, currentPage, largestPageHeight, largestPageWidth, nextCommand, wizard
 
Fields inherited from class org.springframework.richclient.dialog.ApplicationDialog
DEFAULT_CANCEL_COMMAND_ID, DEFAULT_FINISH_COMMAND_ID, DEFAULT_FINISH_SUCCESS_MESSAGE_KEY, DEFAULT_FINISH_SUCCESS_TITLE_KEY, logger, SUCCESS_FINISH_MESSAGE_KEY, SUCCESS_FINISH_TITLE_KEY
 
Fields inherited from interface org.springframework.richclient.dialog.Messagable
MESSAGE_PROPERTY
 
Constructor Summary
ExtendedWizardDialog()
           
ExtendedWizardDialog(Wizard wizard)
           
ExtendedWizardDialog(Wizard wizard, String id)
           
 
Method Summary
protected  JComponent createDialogContentPane()
          Return the GUI which allows the user to manipulate the business objects related to this dialog.
 void setWizard(Wizard wizard)
           
 void showPage(WizardPage page)
          Makes the given page visible.
 
Methods inherited from class org.springframework.richclient.wizard.WizardDialog
createTitledDialogContentPane, getCommandGroupMembers, getCurrentPage, getFinishCommandId, onAboutToShow, onBack, onCancel, onFinish, onNext, propertyChange, updateDialog, updateMessagePane, updateTitlePane
 
Methods inherited from class org.springframework.richclient.dialog.TitledApplicationDialog
addDialogComponents, addPropertyChangeListener, addPropertyChangeListener, disposeDialogContentPane, getDescription, getMessage, getTitlePaneImage, getTitlePaneTitle, isMessageShowing, removePropertyChangeListener, removePropertyChangeListener, setCaption, setContentPane, setDescription, setImage, setMessage, setTitlePaneImage, setTitlePaneTitle
 
Methods inherited from class org.springframework.richclient.dialog.ApplicationDialog
addActionKeyBinding, addActionKeyBinding, attachListeners, componentsChanged, createButtonBar, createDialog, dispose, getActionMap, getCallingCommand, getCancelCommand, getCancelCommandId, getDialog, getDialogContentPane, getDisplayFinishSuccessMessage, getFinishCommand, getFinishSecurityControllerId, getFinishSuccessMessage, getFinishSuccessMessageArguments, getFinishSuccessTitle, getFinishSuccessTitleArguments, getInputMap, getLocation, getLocationRelativeTo, getParentComponent, getParentWindow, getPreferredSize, getTitle, getWindowForComponent, hide, init, isControlCreated, isEnabled, isShowing, onInitialized, onWindowActivated, onWindowClosing, onWindowGainedFocus, onWindowLostFocus, registerCancelCommandAsDefault, registerDefaultCommand, registerDefaultCommand, setCallingCommand, setCloseAction, setDefaultEnabled, setDisplayFinishSuccessMessage, setEnabled, setFinishEnabled, setLocation, setLocationRelativeTo, setModal, setParentComponent, setPreferredSize, setResizable, setTitle, showDialog, showFinishSuccessMessageDialog
 
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

ExtendedWizardDialog

public ExtendedWizardDialog()

ExtendedWizardDialog

public ExtendedWizardDialog(Wizard wizard)

ExtendedWizardDialog

public ExtendedWizardDialog(Wizard wizard,
                            String id)
Method Detail

setWizard

public void setWizard(Wizard wizard)
Overrides:
setWizard in class WizardDialog

createDialogContentPane

protected JComponent createDialogContentPane()
Description copied from class: TitledApplicationDialog
Return the GUI which allows the user to manipulate the business objects related to this dialog. This GUI will be placed above the OK and Cancel buttons, in a standard manner.

Any components/objects created at this point need to be disposed in ApplicationDialog.disposeDialogContentPane().

Creates an additional panel at the top containing a title/message area. This can be used in conjunction with validation reporters to show the most recent error or to simply show a title and a description of the current Dialog. Use TitledApplicationDialog.createTitledDialogContentPane() to add your custom components.

Overrides:
createDialogContentPane in class TitledApplicationDialog
See Also:
ApplicationDialog.disposeDialogContentPane()

showPage

public void showPage(WizardPage page)
Description copied from interface: WizardContainer
Makes the given page visible.

This method should not be use for normal page sequencing (back, next) which is handled by the container itself. It may, however, be used to move to another page in response to some custom action such as double clicking in a list.

Specified by:
showPage in interface WizardContainer
Overrides:
showPage in class WizardDialog
Parameters:
page - the page to show
See Also:
WizardContainer.getCurrentPage()


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