THIS
- Self-referential generic THISpublic interface FluentDateField<THIS extends FluentDateField<THIS>> extends FluentAbstractLocalDateField<THIS>
DateField
DateField
com.vaadin.data.HasValue.ValueChangeEvent<V>, com.vaadin.data.HasValue.ValueChangeListener<V>
FluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.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 | Method and Description |
---|---|
default THIS |
withAssistiveText(String description)
Set a description that explains the usage of the Widget for users of
assistive devices.
|
default THIS |
withPlaceholder(String placeholder)
Sets the placeholder text.
|
default THIS |
withTextFieldEnabled(boolean state)
Enables or disables the text field.
|
withDateFormat, withDateOutOfRangeMessage, withDefaultValue, withLenient, withParseErrorMessage, withRangeEnd, withRangeStart, withResolution, withShowISOWeekNumbers
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleName
withAttachListener, withDetachListener
withContextClickListener
addContextClickListener, removeContextClickListener
withReadOnly, withRequiredIndicatorVisible, withValue, withValueChangeListener
addValueChangeListener, clear, getDefaultValidator, getEmptyValue, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValue
withTabIndex
withCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisible
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
withFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidth
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
withFocusListener
withBlurListener
default THIS withAssistiveText(String description)
description
- String with the descriptionDateField.setAssistiveText(String)
default THIS withPlaceholder(String placeholder)
placeholder
- the placeholder text to setDateField.setPlaceholder(String)
default THIS withTextFieldEnabled(boolean state)
state
- true to enable text field, false to disable it.DateField.setTextFieldEnabled(boolean)
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.