-
- Enclosing class:
- RadioBoxList<V>
public static interface RadioBoxList.Listener
Listener interface that can be attached to theRadioBoxList
in order to be notified on user actions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onSelectionChanged(int selectedIndex, int previousSelection)
Called by theRadioBoxList
when the user changes which item is selected
-
-
-
Method Detail
-
onSelectionChanged
void onSelectionChanged(int selectedIndex, int previousSelection)
Called by theRadioBoxList
when the user changes which item is selected- Parameters:
selectedIndex
- Index of the newly selected item, or -1 if the selection has been cleared (can only be done programmatically)previousSelection
- The index of the previously selected item which is now no longer selected, or -1 if nothing was previously selected
-
-