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 TypeMethodDescriptionvoid
setFormatter
(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
null
if not set
-
setFormatter
Sets a formatter that is used to produce the strings representation of the value.- Parameters:
formatter
- a formatter to set ornull
to remove
-