Interface SupportsFormatter<V>

All Known Implementing Classes:
AggregationInfo, EntityPicker, JmixMultiValuePicker, JmixUserIndicator, JmixValuePicker, MultiValuePicker, UserIndicator, ValuePicker, ValuePickerBase

public interface SupportsFormatter<V>
Interface to be implemented by UI components supporting value formatting.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setFormatter(Formatter<? super V> formatter)
    Sets a formatter that is used to produce the strings representation of the value.
  • Method Details

    • getFormatter

      @Nullable Formatter<V> getFormatter()
      Returns:
      a formatter or null if not set
    • setFormatter

      void setFormatter(@Nullable Formatter<? super V> formatter)
      Sets a formatter that is used to produce the strings representation of the value.
      Parameters:
      formatter - a formatter to set or null to remove