Interface CheckboxGroup.ItemHelperGenerator<T>

Type Parameters:
T - item type
All Superinterfaces:
Function<T,String>, Serializable, SerializableFunction<T,String>
Enclosing class:
CheckboxGroup<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CheckboxGroup.ItemHelperGenerator<T> extends SerializableFunction<T,String>
CheckboxGroup.ItemHelperGenerator can be used to generate helper text strings used by the checkbox group for each checkbox.
Since:
24.4
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T item)
    Gets a helper text string for the item.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      String apply(T item)
      Gets a helper text string for the item.
      Specified by:
      apply in interface Function<T,String>
      Parameters:
      item - the item to get helper text for
      Returns:
      the helper text string for the item, not null