Class EmptyValueProvider<T>

java.lang.Object
io.jmix.flowui.data.provider.EmptyValueProvider<T>
Type Parameters:
T - item type
All Implemented Interfaces:
com.vaadin.flow.function.SerializableFunction<T,String>, com.vaadin.flow.function.ValueProvider<T,String>, Serializable, Function<T,String>

public class EmptyValueProvider<T> extends Object implements com.vaadin.flow.function.ValueProvider<T,String>
Value provider that returns an empty string for passed item. Can be used as a placeholder before an actual value provider is set.
See Also:
  • Constructor Details

    • EmptyValueProvider

      public EmptyValueProvider()
  • Method Details

    • apply

      public String apply(T t)
      Specified by:
      apply in interface Function<T,String>
      Specified by:
      apply in interface com.vaadin.flow.function.ValueProvider<T,String>