public static interface Spinner.ItemBindMapping
Modifier and Type | Method and Description |
---|---|
Object |
get(List<?> spinnerData,
int index)
Retrieves the item at the given index during a
Component.store(Object) operation. |
int |
indexOf(List<?> spinnerData,
Object value)
Returns the index of the item in the source list during a
Component.load(Object) operation. |
int indexOf(List<?> spinnerData, Object value)
Component.load(Object)
operation.spinnerData
- The source spinner data.value
- The value to locate.Object get(List<?> spinnerData, int index)
Component.store(Object)
operation.spinnerData
- The source spinner data.index
- The index of the value to retrieve.