V - type of value@StudioComponent(caption="DatePicker", category="Components", xmlElement="datePicker", icon="io/jmix/ui/icon/component/datePicker.svg", canvasBehaviour=DATE_PICKER, documentationURL="https://docs.jmix.io/jmix/%VERSION%/backoffice-ui/vcl/components/date-picker.html") public interface DatePicker<V> extends Field<V>, HasDatatype<V>, Component.Focusable, HasRange<V>, Buffered
| Modifier and Type | Interface and Description |
|---|---|
static class |
DatePicker.Resolution |
HasValue.ValueChangeEvent<V>Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperHasContextHelp.ContextHelpIconClickEvent| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
static org.springframework.core.ParameterizedTypeReference<DatePicker<java.sql.Date>> |
TYPE_DATE |
static org.springframework.core.ParameterizedTypeReference<DatePicker<java.util.Date>> |
TYPE_DATETIME |
static org.springframework.core.ParameterizedTypeReference<DatePicker<java.sql.Date>> |
TYPE_DEFAULT |
static org.springframework.core.ParameterizedTypeReference<DatePicker<java.time.LocalDate>> |
TYPE_LOCALDATE |
static org.springframework.core.ParameterizedTypeReference<DatePicker<java.time.LocalDateTime>> |
TYPE_LOCALDATETIME |
static org.springframework.core.ParameterizedTypeReference<DatePicker<java.time.OffsetDateTime>> |
TYPE_OFFSETDATETIME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Modifier and Type | Method and Description |
|---|---|
DatePicker.Resolution |
getResolution()
Returns resolution of the DatePicker.
|
V |
getValue() |
void |
setResolution(DatePicker.Resolution resolution)
Sets resolution of the DatePicker.
|
getValueSource, setValueSourceaddValueChangeListener, clear, getEmptyValue, isEmpty, setValueisEditable, isEditableWithParent, setEditablegetFrame, setFrameaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionisValid, isValidateOnCommit, validategetIcon, setIcon, setIconFromSetgetContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledisCaptionAsHtml, setCaptionAsHtmlgetCaption, setCaptiongetDescription, setDescriptionisDescriptionAsHtml, setDescriptionAsHtmlisHtmlSanitizerEnabled, setHtmlSanitizerEnabledaddValidator, addValidators, getValidators, removeValidatorgetRequiredMessage, isRequired, setRequired, setRequiredMessagegetDatatype, setDatatypefocus, getTabIndex, isFocusable, setFocusable, setTabIndexgetRangeEnd, getRangeStart, setRangeEnd, setRangeStartcommit, discard, isBuffered, isModified, setBufferedstatic final java.lang.String NAME
static final org.springframework.core.ParameterizedTypeReference<DatePicker<java.sql.Date>> TYPE_DEFAULT
static final org.springframework.core.ParameterizedTypeReference<DatePicker<java.sql.Date>> TYPE_DATE
static final org.springframework.core.ParameterizedTypeReference<DatePicker<java.util.Date>> TYPE_DATETIME
static final org.springframework.core.ParameterizedTypeReference<DatePicker<java.time.LocalDate>> TYPE_LOCALDATE
static final org.springframework.core.ParameterizedTypeReference<DatePicker<java.time.LocalDateTime>> TYPE_LOCALDATETIME
static final org.springframework.core.ParameterizedTypeReference<DatePicker<java.time.OffsetDateTime>> TYPE_OFFSETDATETIME
DatePicker.Resolution getResolution()
@StudioProperty(type=ENUMERATION, defaultValue="DAY", options={"YEAR","MONTH","DAY"}) void setResolution(DatePicker.Resolution resolution)
resolution - resolution