DPO - Type of data in the combobox editor.Object.public class JTableComboBoxEditorSelectedValueProvider<DPO> extends Object implements com.google.code.validationframework.api.dataprovider.DataProvider<DPO>
Note that if the table is not in editing, no value can be provided.
DataProvider,
JTable,
JTable.getCellEditor()| Constructor and Description |
|---|
JTableComboBoxEditorSelectedValueProvider(JTable table)
Constructor specifying the table holding the editor component to get the text from.
|
JTableComboBoxEditorSelectedValueProvider(JTable table,
com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
Constructor specifying the table holding the editor component to get the text from and the transformer used to
convert the selected object from the combobox to the expected type.
|
| Modifier and Type | Method and Description |
|---|---|
JTable |
getComponent()
Gets the component providing the data to be validated.
|
DPO |
getData() |
public JTableComboBoxEditorSelectedValueProvider(JTable table)
table - Editable table.public JTableComboBoxEditorSelectedValueProvider(JTable table, com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
table - Editable table.transformer - Transformer used to convert the selected object from the combobox editor component to the
expected type.public JTable getComponent()
Copyright © 2020. All rights reserved.