# Interface ComponentSelector.ComponentMapper

Enclosing class:
  `ComponentSelector`

public static interface ComponentSelector.ComponentMapper
Interface used by `#map(com.codename1.ui.ComponentSelector.ComponentMapper)` to form a new set of components based on the components in one set.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Component`
  `map(Component c)`
  Maps component c to a replacement component.

- ## Method Details

  - ### map

    Component map(Component c)

    Maps component c to a replacement component.

    ###### Parameters

    - `c`: The source component.

    ###### Returns

    The component that should replace c in the new set.