DPO - Type of data in the list.Object.public class JListSelectedValueProvider<DPO> extends Object implements com.google.code.validationframework.api.dataprovider.DataProvider<DPO>
DataProvider,
JList,
JList.getSelectedValue(),
JListSelectedIndexProvider,
JListSelectedIndicesProvider,
JListSelectedValuesProvider| Constructor and Description |
|---|
JListSelectedValueProvider(JList list)
Constructor specifying the list to get the selected value from.
|
JListSelectedValueProvider(JList list,
com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
Constructor specifying the list to get the selected value from, and the transformer to convert the list value to
DPO.
|
public JListSelectedValueProvider(JList list)
list - List to get the selected value from.public JListSelectedValueProvider(JList list, com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
list - List to get the selected value from.transformer - Transformer to convert the list value.public JList getComponent()
Copyright © 2015. All Rights Reserved.