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 TypeMethodDescriptionvoidsetDatatype(Datatype<V> datatype) Sets the givendatatypeto the component.
-
Method Details
-
setDatatype
@StudioProperty(type=DATATYPE_ID, typeParameter="V") void setDatatype(@Nullable Datatype<V> datatype) Sets the givendatatypeto the component. Its value will be formatted according to this datatype.- Parameters:
datatype-Datatypeinstance
-
getDatatype
- Returns:
- a datatype that is used by this component
-