org.springframework.richclient.selection.binding
Class ListSelectionDialogBinder

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.form.binding.support.AbstractBinder
          extended by org.springframework.richclient.selection.binding.ListSelectionDialogBinder
All Implemented Interfaces:
Binder

public class ListSelectionDialogBinder
extends AbstractBinder

Binder for SelectField.

The context can contain the following items:

Author:
Peter De Bruycker

Field Summary
static String COMPARATOR_KEY
           
static String DESCRIPTION_KEY_KEY
           
static String FILTER_PROPERTIES_KEY
           
static String FILTERED_KEY
           
static String LABEL_PROVIDER_KEY
           
static String RENDERER_KEY
           
static String SELECTABLE_ITEMS_HOLDER_KEY
           
static String TITLE_KEY_KEY
           
 
Fields inherited from class org.springframework.richclient.form.binding.support.AbstractBinder
BINDING_CLIENT_PROPERTY_KEY, log
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
protected ListSelectionDialogBinder()
           
 
Method Summary
protected  void applyContext(ListSelectionDialogBinding binding, Map context)
           
protected  JComponent createControl(Map context)
           
protected  Binding doBind(JComponent notUsed, FormModel formModel, String formPropertyPath, Map context)
           
 void setComparator(Comparator comparator)
           
 void setDescriptionKey(String descriptionKey)
           
 void setFiltered(boolean filtered)
           
 void setFilterProperties(String[] filterProperties)
           
 void setLabelProvider(LabelProvider labelProvider)
           
 void setRenderer(ListCellRenderer renderer)
           
 void setSelectableItemsHolder(ValueModel selectableItemsHolder)
           
 void setTitleKey(String titleKey)
           
 
Methods inherited from class org.springframework.richclient.form.binding.support.AbstractBinder
bind, bind, getPropertyType, getRequiredSourceClass, validateContextKeys
 
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
 

Field Detail

SELECTABLE_ITEMS_HOLDER_KEY

public static final String SELECTABLE_ITEMS_HOLDER_KEY
See Also:
Constant Field Values

FILTER_PROPERTIES_KEY

public static final String FILTER_PROPERTIES_KEY
See Also:
Constant Field Values

FILTERED_KEY

public static final String FILTERED_KEY
See Also:
Constant Field Values

RENDERER_KEY

public static final String RENDERER_KEY
See Also:
Constant Field Values

COMPARATOR_KEY

public static final String COMPARATOR_KEY
See Also:
Constant Field Values

LABEL_PROVIDER_KEY

public static final String LABEL_PROVIDER_KEY
See Also:
Constant Field Values

DESCRIPTION_KEY_KEY

public static final String DESCRIPTION_KEY_KEY
See Also:
Constant Field Values

TITLE_KEY_KEY

public static final String TITLE_KEY_KEY
See Also:
Constant Field Values
Constructor Detail

ListSelectionDialogBinder

protected ListSelectionDialogBinder()
Method Detail

createControl

protected JComponent createControl(Map context)
Specified by:
createControl in class AbstractBinder

applyContext

protected void applyContext(ListSelectionDialogBinding binding,
                            Map context)

doBind

protected Binding doBind(JComponent notUsed,
                         FormModel formModel,
                         String formPropertyPath,
                         Map context)
Specified by:
doBind in class AbstractBinder

setSelectableItemsHolder

public void setSelectableItemsHolder(ValueModel selectableItemsHolder)

setFilterProperties

public void setFilterProperties(String[] filterProperties)

setFiltered

public void setFiltered(boolean filtered)

setRenderer

public void setRenderer(ListCellRenderer renderer)

setLabelProvider

public void setLabelProvider(LabelProvider labelProvider)

setComparator

public void setComparator(Comparator comparator)

setDescriptionKey

public void setDescriptionKey(String descriptionKey)

setTitleKey

public void setTitleKey(String titleKey)


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