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.Wrapper
HasContextHelp.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, setValueSource
addValueChangeListener, clear, getEmptyValue, isEmpty, setValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, 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, withUnwrappedComposition
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
isCaptionAsHtml, setCaptionAsHtml
getCaption, setCaption
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
addValidator, addValidators, getValidators, removeValidator
getRequiredMessage, isRequired, setRequired, setRequiredMessage
getDatatype, setDatatype
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
getRangeEnd, getRangeStart, setRangeEnd, setRangeStart
commit, discard, isBuffered, isModified, setBuffered
static 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