public class CubaDateField
extends com.vaadin.ui.DateField
implements com.vaadin.event.Action.Container
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlercom.vaadin.data.HasValue.ValueChangeEvent<V>, com.vaadin.data.HasValue.ValueChangeListener<V>com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
dateString |
| Constructor and Description |
|---|
CubaDateField() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionHandler(com.vaadin.event.Action.Handler actionHandler) |
protected com.haulmont.cuba.web.widgets.client.datefield.CubaDateFieldState |
getState() |
protected com.haulmont.cuba.web.widgets.client.datefield.CubaDateFieldState |
getState(boolean markAsDirty) |
protected com.vaadin.data.Result<java.time.LocalDate> |
handleUnparsableDateString(java.lang.String dateString) |
boolean |
isAutofill() |
boolean |
isCaptionManagedByLayout() |
protected boolean |
isValueInRange(java.time.LocalDate value) |
void |
removeActionHandler(com.vaadin.event.Action.Handler actionHandler) |
void |
setAutofill(boolean autofill) |
void |
setCaptionManagedByLayout(boolean captionManagedByLayout) |
void |
setDateFormat(java.lang.String dateFormat) |
void |
setResolution(com.vaadin.shared.ui.datefield.DateResolution resolution) |
protected void |
updateInternal(java.lang.String newDateString,
java.util.Map<java.lang.String,java.lang.Integer> resolutions) |
getAssistiveText, getPlaceholder, isTextFieldEnabled, setAssistiveText, setPlaceholder, setTextFieldEnabledadjustToResolution, buildDate, convertFromDate, convertToDate, formatDate, getDatePart, getRangeValidator, toTypeaddBlurListener, addFocusListener, afterDate, beforeClientResponse, convertFromDateString, convertToDateString, doSetValue, getAssistiveLabel, getDateFormat, getDateOutOfRangeMessage, getDateStyle, getDateStyles, getDefaultValidator, getDefaultValue, getParseErrorMessage, getRangeEnd, getRangeStart, getResolution, getResolutions, getValue, getZoneId, isLenient, isPreventInvalidInput, isShowISOWeekNumbers, readDesign, reconstructDateFromFields, setAssistiveLabel, setDateOutOfRangeMessage, setDateStyle, setDaylightSavingTimeRange, setDefaultValue, setLenient, setLocale, setParseErrorMessage, setPreventInvalidInput, setRangeEnd, setRangeStart, setShowISOWeekNumbers, setValue, setZoneId, writeDesignaddValueChangeListener, createValueChange, focus, getCustomAttributes, getTabIndex, isDifferentValue, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setTabIndex, setValueaddContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setParent, setPrimaryStyleName, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitclear, getEmptyValue, getOptionalValue, isEmptyaddListener, addStyleName, addStyleNames, attach, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisibleaddAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected com.haulmont.cuba.web.widgets.client.datefield.CubaDateFieldState getState()
getState in class com.vaadin.ui.DateFieldprotected com.haulmont.cuba.web.widgets.client.datefield.CubaDateFieldState getState(boolean markAsDirty)
getState in class com.vaadin.ui.DateFieldpublic void setDateFormat(java.lang.String dateFormat)
setDateFormat in class com.vaadin.ui.AbstractDateField<java.time.LocalDate,com.vaadin.shared.ui.datefield.DateResolution>protected void updateInternal(java.lang.String newDateString,
java.util.Map<java.lang.String,java.lang.Integer> resolutions)
updateInternal in class com.vaadin.ui.AbstractDateField<java.time.LocalDate,com.vaadin.shared.ui.datefield.DateResolution>protected boolean isValueInRange(java.time.LocalDate value)
isValueInRange in class com.vaadin.ui.AbstractDateField<java.time.LocalDate,com.vaadin.shared.ui.datefield.DateResolution>protected com.vaadin.data.Result<java.time.LocalDate> handleUnparsableDateString(java.lang.String dateString)
handleUnparsableDateString in class com.vaadin.ui.AbstractLocalDateFieldpublic void setResolution(com.vaadin.shared.ui.datefield.DateResolution resolution)
setResolution in class com.vaadin.ui.AbstractDateField<java.time.LocalDate,com.vaadin.shared.ui.datefield.DateResolution>public void addActionHandler(com.vaadin.event.Action.Handler actionHandler)
addActionHandler in interface com.vaadin.event.Action.Containerpublic void removeActionHandler(com.vaadin.event.Action.Handler actionHandler)
removeActionHandler in interface com.vaadin.event.Action.Containerpublic boolean isCaptionManagedByLayout()
public void setCaptionManagedByLayout(boolean captionManagedByLayout)
public void setAutofill(boolean autofill)
public boolean isAutofill()