|
From: Kambiz D. (JIRA) <no...@at...> - 2005-10-07 19:32:05
|
Add SwingBindingFactory.bindCombobox and bindList
-------------------------------------------------
Key: RCP-226
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-226
Project: Spring Framework Rich Client Project
Type: New Feature
Components: Binding System
Reporter: Kambiz Darabi
Assigned to: Oliver Hutchison
Priority: Minor
I use a gui builder (abeille) to create a JPanel and need to bind a combobox on this panel to a collection of beans.
Additionally, I want to specify the bean property, which should be rendered.
Currently, SwingBindingFactory only provides createBinding methods, which instantiate a control.
So, there is a need for a method like AbstractBindingFactory.bindControl.
This patch adds the following methods:
public Binding bindList(JList list, String selectionFormProperty, ValueModel selectableItemsHolder, String renderedProperty, Integer forceSelectMode)
public Binding bindComboBox(JComboBox combo, String formProperty, ValueModel selectableItemsHolder, String renderedProperty)
Thanks
Kambiz
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|