# Interface ComponentSelector.Filter

Enclosing class:
  `ComponentSelector`

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `filter(Component c)`
  Determines whether component c should be included in new set.

- ## Method Details

  - ### filter

    boolean filter(Component c)

    Determines whether component c should be included in new set.

    ###### Parameters

    - `c`: The component to test for inclusion in new set.

    ###### Returns

    True if c should be included in new set. False otherwise