public class JListSelectedIndicesProvider extends Object implements com.google.code.validationframework.api.dataprovider.DataProvider<Collection<Integer>>
DataProvider,
JList,
JList.getSelectedIndices(),
JListSelectedIndexProvider,
JListSelectedValueProvider,
JListSelectedValuesProvider| Constructor and Description |
|---|
JListSelectedIndicesProvider(JList list)
Constructor specifying the list to get the selected indices from.
|
| Modifier and Type | Method and Description |
|---|---|
JList |
getComponent()
Gets the component providing the data to be validated.
|
Collection<Integer> |
getData() |
public JListSelectedIndicesProvider(JList list)
list - List to get the selected index from.public JList getComponent()
public Collection<Integer> getData()
getData in interface com.google.code.validationframework.api.dataprovider.DataProvider<Collection<Integer>>DataProvider.getData()Copyright © 2015. All Rights Reserved.