org.springframework.richclient.application.setup
Class SetupLicenseWizardPage

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.core.LabeledObjectSupport
          extended by org.springframework.richclient.dialog.AbstractDialogPage
              extended by org.springframework.richclient.wizard.AbstractWizardPage
                  extended by org.springframework.richclient.application.setup.SetupLicenseWizardPage
All Implemented Interfaces:
PropertyChangePublisher, CommandLabelConfigurable, DescribedElement, DescriptionConfigurable, Guarded, TitleConfigurable, VisualizedElement, DialogPage, Messagable, ControlFactory, IconConfigurable, ImageConfigurable, WizardPage

public class SetupLicenseWizardPage
extends AbstractWizardPage

A WizardPage which shows a license text and confirmation radio buttons at the bottom. The license text can be set by setLicenseTextLocation(Resource).

Author:
Claudio Romano

Field Summary
 
Fields inherited from class org.springframework.richclient.core.LabeledObjectSupport
logger
 
Fields inherited from interface org.springframework.richclient.dialog.DialogPage
DESCRIPTION_PROPERTY, PAGE_COMPLETE_PROPERTY
 
Fields inherited from interface org.springframework.richclient.dialog.Messagable
MESSAGE_PROPERTY
 
Fields inherited from interface org.springframework.richclient.core.DescribedElement
CAPTION_PROPERTY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY
 
Constructor Summary
SetupLicenseWizardPage()
          Default constructor.
SetupLicenseWizardPage(Resource licenseTextLocation)
          Convenience constructor which sets the license resource.
 
Method Summary
protected  JComponent createControl()
          
protected  void initLicenseTextPane()
          Create the html pane and update its contents.
 void setLicenseTextLocation(Resource location)
          Set the Resource to use as license text.
 
Methods inherited from class org.springframework.richclient.wizard.AbstractWizardPage
canFlipToNextPage, getContainer, getImage, getKey, getNextPage, getPreviousPage, getWizard, isCurrentPage, onAboutToShow, setEnabled, setPreviousPage, setVisible, setWizard, toString
 
Methods inherited from class org.springframework.richclient.dialog.AbstractDialogPage
getControl, getIcon, getId, getMessage, getParentWindowControl, getTitle, hasErrorMessage, hasInfoMessage, hasWarningMessage, isControlCreated, isEnabled, isPageComplete, isVisible, performHelp, setIcon, setId, setMessage, setPageComplete
 
Methods inherited from class org.springframework.richclient.core.LabeledObjectSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getAccelerator, getCaption, getDescription, getDisplayName, getLabel, getMnemonic, getMnemonicIndex, hasChanged, hasChanged, hasChanged, removePropertyChangeListener, removePropertyChangeListener, setCaption, setDescription, setImage, setLabelInfo, 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, wait, wait, wait
 
Methods inherited from interface org.springframework.richclient.dialog.DialogPage
getDescription, getIcon, getId, getMessage, getTitle, isPageComplete, isVisible, performHelp
 
Methods inherited from interface org.springframework.richclient.factory.ControlFactory
getControl
 
Methods inherited from interface org.springframework.richclient.dialog.Messagable
setMessage
 
Methods inherited from interface org.springframework.binding.value.PropertyChangePublisher
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.springframework.richclient.core.Guarded
isEnabled
 

Constructor Detail

SetupLicenseWizardPage

public SetupLicenseWizardPage()
Default constructor. License Resource can be added later.


SetupLicenseWizardPage

public SetupLicenseWizardPage(Resource licenseTextLocation)
Convenience constructor which sets the license resource.

See Also:
setLicenseTextLocation(Resource)
Method Detail

setLicenseTextLocation

public final void setLicenseTextLocation(Resource location)
Set the Resource to use as license text.


createControl

protected JComponent createControl()

Specified by:
createControl in class AbstractDialogPage

initLicenseTextPane

protected void initLicenseTextPane()
Create the html pane and update its contents.



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