Package io.jmix.ui.component
Interface HasDatatype<V>
- All Known Subinterfaces:
Calendar<V>
,CurrencyField<V>
,DateField<V>
,DatePicker<V>
,MaskedField<V>
,ResizableTextArea<V>
,Slider<V>
,TextArea<V>
,TextField<V>
,TimeField<V>
- All Known Implementing Classes:
AbstractTextArea
,CalendarImpl
,CurrencyFieldImpl
,DateFieldImpl
,DatePickerImpl
,MaskedFieldImpl
,ResizableTextAreaImpl
,SliderImpl
,TextAreaImpl
,TextFieldImpl
,TimeFieldImpl
public interface HasDatatype<V>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDatatype
(Datatype<V> datatype) Sets the givendatatype
to the component.
-
Method Details
-
setDatatype
@StudioProperty(type=DATATYPE_ID, typeParameter="V") void setDatatype(@Nullable Datatype<V> datatype) Sets the givendatatype
to the component. Its value will be formatted according to this datatype.- Parameters:
datatype
-Datatype
instance
-
getDatatype
- Returns:
- a datatype that is used by this component
-