org.springframework.richclient.form.binding.swing
Class EnumComboBoxBinding

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.factory.AbstractControlFactory
          extended by org.springframework.richclient.form.binding.support.AbstractBinding
              extended by org.springframework.richclient.form.binding.swing.AbstractListBinding
                  extended by org.springframework.richclient.form.binding.swing.ComboBoxBinding
                      extended by org.springframework.richclient.form.binding.swing.EnumComboBoxBinding
All Implemented Interfaces:
ControlFactory, Binding

public class EnumComboBoxBinding
extends ComboBoxBinding

Author:
Oliver Hutchison

Field Summary
 
Fields inherited from class org.springframework.richclient.form.binding.support.AbstractBinding
fieldMetadata, formModel, formPropertyPath
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
EnumComboBoxBinding(JComboBox comboBox, FormModel formModel, String formPropertyPath)
           
 
Method Summary
protected  void doBindControl(ListModel bindingModel)
           
protected  MessageSource getMessageSource()
           
 void setMessageSource(MessageSource messageSource)
           
 
Methods inherited from class org.springframework.richclient.form.binding.swing.ComboBoxBinding
getComboBox, getDefaultModel, getEditor, getEmptySelectionValue, getRenderer, setEditor, setEmptySelectionValue, setRenderer
 
Methods inherited from class org.springframework.richclient.form.binding.swing.AbstractListBinding
convertValue, createFilteredModel, createModel, createSortedListModel, doBindControl, enabledChanged, getBindingModel, getComparator, getComponent, getFilter, getFilteredModel, getSelectableItems, readOnlyChanged, selectableItemsChanged, setComparator, setFilter, setSelectableItems
 
Methods inherited from class org.springframework.richclient.form.binding.support.AbstractBinding
createControl, getFieldFace, getFormModel, getProperty, getPropertyType, getValue, getValueModel, isEnabled, isReadOnly
 
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
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, getObjectConfigurer, getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.richclient.form.binding.Binding
getControl
 

Constructor Detail

EnumComboBoxBinding

public EnumComboBoxBinding(JComboBox comboBox,
                           FormModel formModel,
                           String formPropertyPath)
Method Detail

doBindControl

protected void doBindControl(ListModel bindingModel)
Overrides:
doBindControl in class ComboBoxBinding

setMessageSource

public void setMessageSource(MessageSource messageSource)

getMessageSource

protected MessageSource getMessageSource()
Overrides:
getMessageSource in class ApplicationServicesAccessor


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