org.springframework.richclient.form.binding.swing
Class ListBinder
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.ListBinder
org.springframework.richclient.form.binding.swing.ListBinder
- All Implemented Interfaces: 
- Binder
- public class ListBinder 
- extends AbstractListBinder
- 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 | 
 
RENDERER_KEY
public static final String RENDERER_KEY
- See Also:
- Constant Field Values
SELECTION_MODE_KEY
public static final String SELECTION_MODE_KEY
- See Also:
- Constant Field Values
ListBinder
public ListBinder()
ListBinder
public ListBinder(String[] supportedContextKeys)
ListBinder
public ListBinder(Class requiredSourceClass,
                  String[] supportedContextKeys)
createListBinding
protected AbstractListBinding createListBinding(JComponent control,
                                                FormModel formModel,
                                                String formPropertyPath)
- Description copied from class: AbstractListBinder
- Called to create the binding instance
 
- 
- Specified by:
- createListBindingin class- AbstractListBinder
 
- 
- 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- AbstractListBinder
 
- 
- Parameters:
- binding- the binding to apply the values
- context- contains context dependent values
 
applyContext
protected void applyContext(ListBinding binding,
                            Map context)
- 
 
createControl
protected JComponent createControl(Map context)
- 
- Specified by:
- createControlin class- AbstractBinder
 
- 
 
getRenderer
public ListCellRenderer getRenderer()
- 
 
setRenderer
public void setRenderer(ListCellRenderer renderer)
- 
 
getSelectionMode
public Integer getSelectionMode()
- 
 
setSelectionMode
public void setSelectionMode(Integer selectionMode)
- 
 
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.