Interface RadioBoxList.Listener

Enclosing class:
RadioBoxList<V>

public static interface RadioBoxList.Listener
Listener interface that can be attached to the RadioBoxList in order to be notified on user actions
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSelectionChanged(int selectedIndex, int previousSelection)
    Called by the RadioBoxList when the user changes which item is selected
  • Method Details

    • onSelectionChanged

      void onSelectionChanged(int selectedIndex, int previousSelection)
      Called by the RadioBoxList 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