Interface ContentSelector<T>

Type Parameters:
T - the content type
All Known Implementing Classes:
IncludeExcludeContentSelector

public interface ContentSelector<T>
Strategy used by CustomLayers to select the layer of an item.
Since:
2.3.0
Author:
Madhura Bhave, Phillip Webb
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(T item)
    Returns true if the specified item is contained in this selection.
    Return the Layer that the selector represents.
  • Method Details

    • getLayer

      Layer getLayer()
      Return the Layer that the selector represents.
      Returns:
      the named layer
    • contains

      boolean contains(T item)
      Returns true if the specified item is contained in this selection.
      Parameters:
      item - the item to test
      Returns:
      if the item is contained