The component requires three different representations of each option:
The option is usually either an {@link org.apache.commons.lang.enum.Enum} (see {@link EnumPropertySelectionModel}) or some kind of business object. The label is often a property of the option object (for example, for a list of customers, it could be the customer name).
It should be easy to convert between the value and the option. It may simply be an index into an array. For business objects, it is often the primary key of the object, expressed as a String. @version $Id: IPropertySelectionModel.java 243791 2004-02-19 17:38:13Z hlship $ @author Howard Lewis Ship
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|