org.springframework.richclient.form.binding.swing
Class LabeledEnumComboBoxBinder
java.lang.Object
   org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.application.support.ApplicationServicesAccessor
       org.springframework.richclient.form.binding.support.AbstractBinder
org.springframework.richclient.form.binding.support.AbstractBinder
           org.springframework.richclient.form.binding.swing.AbstractListBinder
org.springframework.richclient.form.binding.swing.AbstractListBinder
               org.springframework.richclient.form.binding.swing.ComboBoxBinder
org.springframework.richclient.form.binding.swing.ComboBoxBinder
                   org.springframework.richclient.form.binding.swing.LabeledEnumComboBoxBinder
org.springframework.richclient.form.binding.swing.LabeledEnumComboBoxBinder
- All Implemented Interfaces: 
- Binder
- public class LabeledEnumComboBoxBinder 
- extends ComboBoxBinder
- Author:
- Oliver Hutchison
 
 
 
 
 
 
 
 
 
 
| 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 | 
 
LabeledEnumComboBoxBinder
public LabeledEnumComboBoxBinder()
createListBinding
protected AbstractListBinding createListBinding(JComponent control,
                                                FormModel formModel,
                                                String formPropertyPath)
- Description copied from class: AbstractListBinder
- Called to create the binding instance
 
- 
- Overrides:
- createListBindingin class- ComboBoxBinder
 
- 
- Parameters:
- control- the control to bind
- formModel- the formmodel with the value of the- formPropertyPathfield
- formPropertyPath- the field path to bind
- Returns:
- the binding instance. Must not be null
 
applyContext
protected void applyContext(AbstractListBinding binding,
                            Map context)
- Description copied from class: AbstractListBinder
- Applies any context or preset value.
 
- 
- Overrides:
- applyContextin class- ComboBoxBinder
 
- 
- Parameters:
- binding- the binding to apply the values
- context- contains context dependent values
 
createEnumSelectableItemsHolder
protected Collection createEnumSelectableItemsHolder(FormModel formModel,
                                                     String formPropertyPath)
- 
 
getLabeledEnumResolver
public LabeledEnumResolver getLabeledEnumResolver()
- 
 
setEnumResolver
public void setEnumResolver(LabeledEnumResolver enumResolver)
- 
 
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.