public JComponent [ ] addSelector ( String fieldName , Constraint filter , String attributes ) { Map context = new HashMap ( ) ; context . put ( ComboBoxBinder . FILTER_KEY , filter ) ; return addBinding ( getBindingFactory ( ) . createBinding ( JComboBox . class , fieldName ) , attributes , getLabelAttributes ( ) ) ; }
Adds the field to the form by using a selector component .