Package io.jmix.flowui.kit.component
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 TypeMethodDescriptionvoidsetFormatter(Formatter<? super V> formatter) Sets a formatter that is used to produce the strings representation of the value.
-
Method Details
-
getFormatter
- Returns:
- a formatter or
nullif not set
-
setFormatter
Sets a formatter that is used to produce the strings representation of the value.- Parameters:
formatter- a formatter to set ornullto remove
-