Package io.jmix.flowui.component
Interface SupportsDatatype<V>
- Type Parameters:
V- the type of value the datatype describes
- All Known Implementing Classes:
JmixComboBox,JmixRadioButtonGroup,JmixSelect,TypedDatePicker,TypedDateTimePicker,TypedTextField,TypedTimePicker
public interface SupportsDatatype<V>
Represents a contract for components or classes that support specifying a datatype.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the datatype of this component.voidsetDatatype(Datatype<V> datatype) Sets the datatype of this component.
-
Method Details
-
getDatatype
Returns the datatype of this component.- Returns:
- the datatype, or
nullif no datatype is set
-
setDatatype
Sets the datatype of this component.- Parameters:
datatype- the datatype to be set, ornullto unset the current datatype
-