org.springframework.richclient.samples.showcase.binding
Class ListSelectionBindingDialog
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.dialog.ApplicationDialog
org.springframework.richclient.dialog.TitledApplicationDialog
org.springframework.richclient.samples.showcase.binding.ListSelectionBindingDialog
- All Implemented Interfaces:
- PropertyChangePublisher, DescriptionConfigurable, Guarded, TitleConfigurable, Messagable, ImageConfigurable
public class ListSelectionBindingDialog
- extends TitledApplicationDialog
Method Summary |
protected JComponent |
createTitledDialogContentPane()
|
List<org.springframework.richclient.samples.showcase.binding.ListSelectionBindingDialog.Country> |
getCountries()
|
List<org.springframework.richclient.samples.showcase.binding.ListSelectionBindingDialog.Town> |
getTowns(org.springframework.richclient.samples.showcase.binding.ListSelectionBindingDialog.Country country)
|
protected void |
init()
Hook called in constructor. |
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, 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, getCommandGroupMembers, getDialog, getDialogContentPane, getDisplayFinishSuccessMessage, getFinishCommand, getFinishCommandId, getFinishSecurityControllerId, getFinishSuccessMessage, getFinishSuccessMessageArguments, getFinishSuccessTitle, getFinishSuccessTitleArguments, getInputMap, getLocation, getLocationRelativeTo, getParentComponent, getParentWindow, getPreferredSize, getTitle, getWindowForComponent, hide, isControlCreated, isEnabled, isShowing, onAboutToShow, onCancel, 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 |
ListSelectionBindingDialog
public ListSelectionBindingDialog()
init
protected void init()
- Description copied from class:
ApplicationDialog
- Hook called in constructor. Add specific initialization code here.
- Overrides:
init
in class ApplicationDialog
getCountries
public List<org.springframework.richclient.samples.showcase.binding.ListSelectionBindingDialog.Country> getCountries()
getTowns
public List<org.springframework.richclient.samples.showcase.binding.ListSelectionBindingDialog.Town> getTowns(org.springframework.richclient.samples.showcase.binding.ListSelectionBindingDialog.Country country)
createTitledDialogContentPane
protected JComponent createTitledDialogContentPane()
- Specified by:
createTitledDialogContentPane
in class TitledApplicationDialog
- Returns:
- a component that will be added as the content of the Titled Dialog.
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.
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.