Package com.vaadin.v7.ui
Class PopupDateField
-
- All Implemented Interfaces:
Action.ShortcutNotifier
,ConnectorEventListener
,ContextClickEvent.ContextClickNotifier
,MethodEventSource
,SerializableEventListener
,ClientConnector
,Sizeable
,VariableOwner
,com.vaadin.shared.Connector
,Component
,Component.Focusable
,LegacyComponent
,Buffered
,BufferedValidatable
,Property<Date>
,Property.Editor
,Property.ReadOnlyStatusChangeListener
,Property.ReadOnlyStatusChangeNotifier
,Property.ValueChangeListener
,Property.ValueChangeNotifier
,Property.Viewer
,Validatable
,FieldEvents.BlurNotifier
,FieldEvents.FocusNotifier
,Field<Date>
,Serializable
,EventListener
@Deprecated public class PopupDateField extends DateField
Deprecated.As of 8.0, useDateField
orDateTimeField
instead.A date entry component, which displays the actual date selector as a popup.
- Since:
- 5.0
- Author:
- Vaadin Ltd.
- See Also:
DateField
,InlineDateField
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.v7.ui.DateField
DateField.UnparsableDateString
-
Nested classes/interfaces inherited from class com.vaadin.v7.ui.AbstractField
AbstractField.FocusShortcut, AbstractField.ReadOnlyStatusChangeEvent
-
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Buffered
Buffered.SourceException
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener
-
Nested classes/interfaces inherited from interface com.vaadin.v7.ui.Field
Field.ValueChangeEvent
-
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Property
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer
-
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable
Sizeable.Unit
-
-
Field Summary
-
Fields inherited from class com.vaadin.v7.ui.DateField
RESOLUTION_DAY, RESOLUTION_HOUR, RESOLUTION_MIN, RESOLUTION_MONTH, RESOLUTION_SEC, RESOLUTION_YEAR
-
Fields inherited from class com.vaadin.ui.AbstractComponent
DESIGN_ATTR_PLAIN_TEXT
-
Fields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
-
-
Constructor Summary
Constructors Constructor Description PopupDateField()
Deprecated.PopupDateField(Property dataSource)
Deprecated.PopupDateField(String caption)
Deprecated.PopupDateField(String caption, Property dataSource)
Deprecated.PopupDateField(String caption, Date value)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAssistiveText()
Deprecated.Get the description that explains the usage of the Widget for users of assistive devices.String
getInputPrompt()
Deprecated.Gets the current input prompt.protected PopupDateFieldState
getState()
Deprecated.protected PopupDateFieldState
getState(boolean markAsDirty)
Deprecated.boolean
isTextFieldEnabled()
Deprecated.Checks whether the text field is enabled (default) or not.void
paintContent(PaintTarget target)
Deprecated.void
setAssistiveText(String description)
Deprecated.Set a description that explains the usage of the Widget for users of assistive devices.void
setInputPrompt(String inputPrompt)
Deprecated.Sets the input prompt - a textual prompt that is displayed when the field would otherwise be empty, to prompt the user for input.void
setTextFieldEnabled(boolean state)
Deprecated.Enables or disables the text field.-
Methods inherited from class com.vaadin.v7.ui.DateField
addBlurListener, addFocusListener, changeVariables, discard, fireValueChange, getDateFormat, getDateOutOfRangeMessage, getParseErrorMessage, getRangeEnd, getRangeStart, getResolution, getTimeZone, getType, handleUnparsableDateString, isLenient, isShowISOWeekNumbers, readDesign, removeBlurListener, removeFocusListener, setDateFormat, setDateOutOfRangeMessage, setInternalValue, setLenient, setParseErrorMessage, setRangeEnd, setRangeStart, setResolution, setShowISOWeekNumbers, setTimeZone, setValue, shouldHideErrors, validate, writeDesign
-
Methods inherited from class com.vaadin.v7.ui.AbstractField
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, attach, beforeClientResponse, clear, commit, detach, fireReadOnlyStatusChange, focus, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getCustomAttributes, getErrorMessage, getInternalValue, getModelType, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, getValue, isBuffered, isEmpty, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isValid, isValidationVisible, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInvalidAllowed, setInvalidCommitted, setLocale, setPropertyDataSource, setReadOnly, setRequired, setRequiredError, setTabIndex, setValidationVisible, setValue, setValue, validate, valueChange
-
Methods inherited from class com.vaadin.v7.ui.AbstractLegacyComponent
getExplicitImmediateValue, isImmediate, setImmediate
-
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, 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, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.event.Action.ShortcutNotifier
addShortcutListener, removeShortcutListener
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
-
Methods inherited from interface com.vaadin.ui.LegacyComponent
markAsDirty
-
Methods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from interface com.vaadin.server.VariableOwner
isEnabled
-
-
-
-
Constructor Detail
-
PopupDateField
public PopupDateField()
Deprecated.
-
PopupDateField
public PopupDateField(Property dataSource) throws IllegalArgumentException
Deprecated.- Throws:
IllegalArgumentException
-
PopupDateField
public PopupDateField(String caption)
Deprecated.
-
-
Method Detail
-
paintContent
public void paintContent(PaintTarget target) throws PaintException
Deprecated.- Specified by:
paintContent
in interfaceLegacyComponent
- Overrides:
paintContent
in classDateField
- Throws:
PaintException
-
getInputPrompt
public String getInputPrompt()
Deprecated.Gets the current input prompt.- Returns:
- the current input prompt, or null if not enabled
- See Also:
setInputPrompt(String)
-
setInputPrompt
public void setInputPrompt(String inputPrompt)
Deprecated.Sets the input prompt - a textual prompt that is displayed when the field would otherwise be empty, to prompt the user for input.- Parameters:
inputPrompt
-
-
getState
protected PopupDateFieldState getState()
Deprecated.
-
getState
protected PopupDateFieldState getState(boolean markAsDirty)
Deprecated.
-
isTextFieldEnabled
public boolean isTextFieldEnabled()
Deprecated.Checks whether the text field is enabled (default) or not.- Returns:
- true if the text field is enabled, false otherwise.
- See Also:
setTextFieldEnabled(boolean)
-
setTextFieldEnabled
public void setTextFieldEnabled(boolean state)
Deprecated.Enables or disables the text field. By default the text field is enabled. Disabling it causes only the button for date selection to be active, thus preventing the user from entering invalid dates. See Ticket 6790".- Parameters:
state
- true to enable text field, false to disable it.
-
setAssistiveText
public void setAssistiveText(String description)
Deprecated.Set a description that explains the usage of the Widget for users of assistive devices.- Parameters:
description
- String with the description
-
getAssistiveText
public String getAssistiveText()
Deprecated.Get the description that explains the usage of the Widget for users of assistive devices.- Returns:
- String with the description
-
-