org.springframework.richclient.selection.binding
Class ListSelectionDialogBinding
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.form.binding.support.AbstractBinding
org.springframework.richclient.form.binding.support.CustomBinding
org.springframework.richclient.selection.binding.ListSelectionDialogBinding
- All Implemented Interfaces:
- ControlFactory, Binding
public class ListSelectionDialogBinding
- extends CustomBinding
Binding for selection objects in a form.
- Author:
- Peter De Bruycker
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 |
Methods inherited from interface org.springframework.richclient.form.binding.Binding |
getControl |
ListSelectionDialogBinding
protected ListSelectionDialogBinding(SelectField selectField,
FormModel formModel,
String formPropertyPath)
doBindControl
protected JComponent doBindControl()
- Specified by:
doBindControl
in class AbstractBinding
createSelectionDialog
protected ListSelectionDialog createSelectionDialog()
getRendererForSelectionDialog
protected ListCellRenderer getRendererForSelectionDialog()
enabledChanged
protected void enabledChanged()
- Description copied from class:
AbstractBinding
- Called when the enabled state of the bound property changes.
- Specified by:
enabledChanged
in class AbstractBinding
- See Also:
FormPropertyState
readOnlyChanged
protected void readOnlyChanged()
- Description copied from class:
AbstractBinding
- Called when the read only state of the bound property changes.
- Specified by:
readOnlyChanged
in class AbstractBinding
- See Also:
FormPropertyState
setLabelProvider
public void setLabelProvider(LabelProvider provider)
valueModelChanged
protected void valueModelChanged(Object newValue)
- Description copied from class:
CustomBinding
- Called when the underlying property's value model value changes.
- Specified by:
valueModelChanged
in class CustomBinding
setFilterProperties
public void setFilterProperties(String[] filterProperties)
setFiltered
public void setFiltered(boolean filtered)
setRenderer
public void setRenderer(ListCellRenderer renderer)
setSelectableItemsHolder
public void setSelectableItemsHolder(ValueModel selectableItemsHolder)
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.