public interface DateField extends Field, Component.Buffered, Component.Focusable
Modifier and Type | Interface and Description |
---|---|
static class |
DateField.Resolution |
Field.Validator
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDateFormat() |
java.util.Date |
getRangeEnd()
Return end of range for a certain resolution.
|
java.util.Date |
getRangeStart()
Return start of range for a certain resolution.
|
DateField.Resolution |
getResolution() |
java.util.TimeZone |
getTimeZone() |
java.util.Date |
getValue() |
void |
setDateFormat(java.lang.String dateFormat) |
void |
setRangeEnd(java.util.Date rangeEnd)
Set end of range.
|
void |
setRangeStart(java.util.Date rangeStart)
Set start of range.
|
void |
setResolution(DateField.Resolution resolution) |
void |
setTimeZone(java.util.TimeZone timeZone) |
addValidator, getRequiredMessage, getValidators, isRequired, removeValidator, setRequired, setRequiredMessage
getDatasource, getMetaProperty, getMetaPropertyPath, setDatasource
addListener, addValueChangeListener, removeListener, removeValueChangeListener, setValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
getCaption, getDescription, setCaption, setDescription
isValid, isValidateOnCommit, validate
getIcon, setIcon
commit, discard, isBuffered, isModified, setBuffered
getTabIndex, isFocusable, setFocusable, setTabIndex
static final java.lang.String NAME
DateField.Resolution getResolution()
void setResolution(DateField.Resolution resolution)
java.lang.String getDateFormat()
void setDateFormat(java.lang.String dateFormat)
java.util.TimeZone getTimeZone()
void setTimeZone(java.util.TimeZone timeZone)
void setRangeStart(java.util.Date rangeStart)
rangeStart
- allowed start of rangejava.util.Date getRangeStart()
void setRangeEnd(java.util.Date rangeEnd)
rangeEnd
- end of allowed rangejava.util.Date getRangeEnd()
java.util.Date getValue()
getValue
in interface Component.HasValue