public class JComboBoxSelectedIndexProvider extends Object implements com.google.code.validationframework.api.dataprovider.DataProvider<Integer>
DataProvider,
JComboBoxSelectedValueProvider,
JComboBox,
JComboBox.getSelectedIndex()| Constructor and Description |
|---|
JComboBoxSelectedIndexProvider(JComboBox comboBox)
Constructor specifying the combobox to get the selected index from.
|
| Modifier and Type | Method and Description |
|---|---|
JComboBox |
getComponent()
Gets the component providing the data to be validated.
|
Integer |
getData() |
public JComboBoxSelectedIndexProvider(JComboBox comboBox)
comboBox - Combobox to get the selected index from.public JComboBox getComponent()
Copyright © 2020. All rights reserved.