com.here.msdkui.routing

## Interface TransportModePanel.OnSelectedListener

- Enclosing class:
    TransportModePanel

      public static interface TransportModePanel.OnSelectedListener

  An interface for a callback to be invoked when a tab is selected, unselected or re-selected.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `onReselected(int index, TabView button)` Called when a tab is re-selected.
    `void` | `onSelected(int index, TabView button)` Called when a tab is selected.
    `default void` | `onUnselected(int index, TabView button)` Called when a tab exits the selected state.

- - ### Method Detail

    - #### onSelected

          void onSelected(int index,
                          TabView button)

      Called when a tab is selected.
      Parameters:
        `index` - position of selected tab.
        `button` - The tab that was selected

    - #### onUnselected

          default void onUnselected(int index,
                                    TabView button)

      Called when a tab exits the selected state.
      Parameters:
        `index` - the position of the selected tab.
        `button` - the tab that was unselected.

    - #### onReselected

          default void onReselected(int index,
                                    TabView button)

      Called when a tab is re-selected.
      Parameters:
        `index` - position of selected tab.
        `button` - The tab that was selected.