org.springframework.richclient.samples.simple.ui
Class ContactPropertiesDialog
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.dialog.ApplicationDialog
org.springframework.richclient.dialog.TitledApplicationDialog
org.springframework.richclient.dialog.TitledPageApplicationDialog
org.springframework.richclient.samples.simple.ui.ContactPropertiesDialog
- All Implemented Interfaces:
- PropertyChangePublisher, DescriptionConfigurable, Guarded, TitleConfigurable, Messagable, ImageConfigurable
public class ContactPropertiesDialog
- extends TitledPageApplicationDialog
This is a dialog for editing the properties of a Contact object. It is a simple "form backed" dialog, meaning that
the body of the dialog is provided from a "form backed" dialog page. The Ok (finish) button will be wired into the
"page complete" state of the dialog page, which in turn gets its state from the automatic validation of the
properties on the form.
- Author:
- Larry Streepy
- See Also:
FormBackedDialogPage
,
ContactForm
Method Summary |
protected void |
onAboutToShow()
Template lifecycle method invoked right before the dialog is to become
visible. |
protected void |
onCancel()
Handle a dialog cancellation request. |
protected boolean |
onFinish()
Request invocation of the action taken when the user hits the
OK (finish) button. |
Methods inherited from class org.springframework.richclient.dialog.TitledApplicationDialog |
addDialogComponents, addPropertyChangeListener, addPropertyChangeListener, createDialogContentPane, disposeDialogContentPane, getMessage, getTitlePaneImage, getTitlePaneTitle, isMessageShowing, removePropertyChangeListener, removePropertyChangeListener, setCaption, setContentPane, setDescription, setImage, setMessage |
Methods inherited from class org.springframework.richclient.dialog.ApplicationDialog |
addActionKeyBinding, addActionKeyBinding, attachListeners, componentsChanged, createButtonBar, createDialog, dispose, getActionMap, getCallingCommand, getCancelCommand, getCancelCommandId, getCommandGroupMembers, getDialog, getDialogContentPane, getDisplayFinishSuccessMessage, getFinishCommand, getFinishCommandId, 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 |
ContactPropertiesDialog
public ContactPropertiesDialog(ContactDataStore dataStore)
ContactPropertiesDialog
public ContactPropertiesDialog(Contact contact,
ContactDataStore dataStore)
onAboutToShow
protected void onAboutToShow()
- Description copied from class:
ApplicationDialog
- Template lifecycle method invoked right before the dialog is to become
visible.
- Overrides:
onAboutToShow
in class ApplicationDialog
onFinish
protected boolean onFinish()
- Description copied from class:
ApplicationDialog
- Request invocation of the action taken when the user hits the
OK
(finish) button.
- Specified by:
onFinish
in class ApplicationDialog
- Returns:
- true if action completed successfully; false otherwise.
onCancel
protected void onCancel()
- Description copied from class:
ApplicationDialog
- Handle a dialog cancellation request.
- Overrides:
onCancel
in class ApplicationDialog
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.