com.vaadin.ui
Class PopupDateField
java.lang.Object
com.vaadin.terminal.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractField<Date>
com.vaadin.ui.DateField
com.vaadin.ui.PopupDateField
- All Implemented Interfaces:
- Buffered, BufferedValidatable, Property<Date>, Property.Editor, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer, Validatable, Action.ShortcutNotifier, FieldEvents.BlurNotifier, FieldEvents.FocusNotifier, MethodEventSource, Connector, ClientConnector, RpcTarget, Sizeable, Vaadin6Component, VariableOwner, Component, Component.Focusable, Field<Date>, Serializable, EventListener
public class PopupDateField
- extends DateField
A date entry component, which displays the actual date selector as a popup.
- Since:
- 5.0
- Version:
- 7.0.0.alpha3
- Author:
- Vaadin Ltd.
- See Also:
DateField
,
InlineDateField
,
Serialized Form
Method Summary |
String |
getInputPrompt()
Gets the current input prompt. |
void |
paintContent(PaintTarget target)
Paints the Paintable into a UIDL stream. |
void |
setInputPrompt(String inputPrompt)
Sets the input prompt - a textual prompt that is displayed when the field
would otherwise be empty, to prompt the user for input. |
Methods inherited from class com.vaadin.ui.DateField |
addListener, addListener, changeVariables, getDateFormat, getParseErrorMessage, getResolution, getTimeZone, getType, handleUnparsableDateString, isLenient, isShowISOWeekNumbers, removeListener, removeListener, setDateFormat, setInternalValue, setLenient, setParseErrorMessage, setResolution, setShowISOWeekNumbers, setTimeZone, setValue, shouldHideErrors, validate |
Methods inherited from class com.vaadin.ui.AbstractField |
addListener, addListener, addValidator, attach, commit, detach, discard, fireReadOnlyStatusChange, fireValueChange, focus, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getErrorMessage, getInternalValue, getPropertyDataSource, getRequiredError, getState, getTabIndex, getValidators, getValue, isBuffered, isEmpty, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isReadThrough, isRequired, isValid, isValidationVisible, isWriteThrough, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeValidator, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInvalidAllowed, setInvalidCommitted, setPropertyDataSource, setReadOnly, setReadThrough, setRequired, setRequiredError, setTabIndex, setValidationVisible, setValue, setWriteThrough, toString, updateState, validate, valueChange |
Methods inherited from class com.vaadin.ui.AbstractComponent |
addListener, addListener, addListener, addListener, addShortcutListener, addStyleName, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireEvent, getActionManager, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getRoot, getStyle, getStyleName, getWidth, getWidthUnits, handleError, hasListeners, isConnectorEnabled, isEnabled, isImmediate, isVisible, removeListener, removeListener, removeListener, removeListener, removeListener, removeShortcutListener, removeStyleName, requestRepaint, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setErrorHandler, setHeight, setHeight, setIcon, setImmediate, setLocale, setParent, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth |
Methods inherited from class com.vaadin.terminal.AbstractClientConnector |
addExtension, addMethodInvocationToQueue, createState, getAllChildrenIterable, getConnectorId, getExtensions, getRpcManager, getRpcProxy, getStateType, registerRpc, registerRpc, removeExtension, requestRepaintAll, retrievePendingRpcCalls |
Methods inherited from interface com.vaadin.ui.Component |
addListener, addStyleName, attach, getApplication, getCaption, getDebugId, getIcon, getLocale, getParent, getRoot, getState, getStyleName, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setDebugId, setEnabled, setIcon, setReadOnly, setStyleName, setVisible, updateState |
PopupDateField
public PopupDateField()
PopupDateField
public PopupDateField(Property dataSource)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
PopupDateField
public PopupDateField(String caption,
Date value)
PopupDateField
public PopupDateField(String caption,
Property dataSource)
PopupDateField
public PopupDateField(String caption)
paintContent
public void paintContent(PaintTarget target)
throws PaintException
- Description copied from interface:
Vaadin6Component
Paints the Paintable into a UIDL stream. This method creates the UIDL
sequence describing it and outputs it to the given UIDL stream.
It is called when the contents of the component should be painted in
response to the component first being shown or having been altered so
that its visual representation is changed.
- Specified by:
paintContent
in interface Vaadin6Component
- Overrides:
paintContent
in class DateField
- Parameters:
target
- the target UIDL stream where the component should paint itself
to.
- Throws:
PaintException
- if the paint operation failed.
getInputPrompt
public String getInputPrompt()
- 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)
- 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
-
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.