org.springframework.richclient.preference
Class FormBackedPreferencePage

Show UML class diagram
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.preference.PreferencePage
                  extended by org.springframework.richclient.preference.FormBackedPreferencePage
All Implemented Interfaces:
PropertyChangePublisher, CommandLabelConfigurable, DescribedElement, DescriptionConfigurable, Guarded, TitleConfigurable, VisualizedElement, DialogPage, Messagable, ControlFactory, IconConfigurable, ImageConfigurable

public abstract class FormBackedPreferencePage
extends PreferencePage


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
FormBackedPreferencePage(String id)
           
FormBackedPreferencePage(String id, boolean autoconfigure)
           
 
Method Summary
protected  JComponent createContents()
           
protected abstract  Form createForm()
           
 Form getForm()
           
protected  void initPageValidationReporter()
           
 void onAboutToShow()
           
 void setEnabled(boolean enabled)
          Sets the enabled state of the object.
 
Methods inherited from class org.springframework.richclient.preference.PreferencePage
createButtons, createControl, getApplyCommand, getCommands, getCreateApplyAndDefaultButtons, getParent, getRestoreDefaultsCommand, getSettings, onApply, onDefaults, onFinish, setCreateApplyAndDefaultButtons, setPageComplete, setParent, setPreferenceDialog
 
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, setVisible
 
Methods inherited from class org.springframework.richclient.core.LabeledObjectSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getAccelerator, getCaption, getDescription, getDisplayName, getImage, getLabel, getMnemonic, getMnemonicIndex, hasChanged, hasChanged, hasChanged, removePropertyChangeListener, removePropertyChangeListener, setCaption, setDescription, setImage, setLabelInfo, setTitle, toString
 
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, getImage
 
Methods inherited from interface org.springframework.binding.value.PropertyChangePublisher
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

FormBackedPreferencePage

public FormBackedPreferencePage(String id)

FormBackedPreferencePage

public FormBackedPreferencePage(String id,
                                boolean autoconfigure)
Method Detail

createContents

protected final JComponent createContents()
Specified by:
createContents in class PreferencePage

createForm

protected abstract Form createForm()

getForm

public Form getForm()

initPageValidationReporter

protected void initPageValidationReporter()

onAboutToShow

public void onAboutToShow()

setEnabled

public void setEnabled(boolean enabled)
Description copied from interface: Guarded
Sets the enabled state of the object.

Specified by:
setEnabled in interface Guarded
Overrides:
setEnabled in class AbstractDialogPage
Parameters:
enabled - true to enable the object, false to disable it.


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