DPO - Type of data in the combobox.Object.public class JComboBoxSelectedValueProvider<DPO> extends Object implements com.google.code.validationframework.api.dataprovider.DataProvider<DPO>
DataProvider,
JComboBoxSelectedIndexProvider,
JComboBox,
JComboBox.getSelectedItem()| Constructor and Description |
|---|
JComboBoxSelectedValueProvider(JComboBox comboBox)
Constructor specifying the combobox to get the selected value from.
|
JComboBoxSelectedValueProvider(JComboBox comboBox,
com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
Constructor specifying the combobox to get the selected value from, and the transformer to convert the combobox
value to DPO.
|
public JComboBoxSelectedValueProvider(JComboBox comboBox)
comboBox - Combobox to get the selected value from.public JComboBoxSelectedValueProvider(JComboBox comboBox, com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
comboBox - Combobox to get the selected value from.transformer - Transformer to convert the combobox value.public JComboBox getComponent()
Copyright © 2015. All Rights Reserved.