public class DateFieldConnector extends TextualDateConnector
SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
DateFieldConnector() |
| Modifier and Type | Method and Description |
|---|---|
PopupDateFieldState |
getState()
Returns the shared state object for this connector.
|
VPopupCalendar |
getWidget()
Returns the widget associated with this paintable.
|
protected void |
init()
Called when the connector has been initialized.
|
void |
onStateChanged(StateChangeEvent stateChangeEvent)
Notifies the event handler that the state has changed.
|
protected void |
setWidgetStyleName(String styleName,
boolean add)
This is used to add / remove state related style names from the widget.
|
protected void |
setWidgetStyleNameWithPrefix(String prefix,
String styleName,
boolean add)
This is used to add / remove state related prefixed style names from the
widget.
|
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client) |
isModified, isReadOnly, isRequired, updateWidgetStyleNamescreateWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSizeaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParentgetConnectorIdprotected void init()
AbstractConnectorinit in class AbstractConnectorpublic void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL in interface PaintableupdateFromUIDL in class TextualDateConnectorpublic VPopupCalendar getWidget()
AbstractComponentConnectorgetWidget in interface ComponentConnectorgetWidget in class TextualDateConnectorpublic PopupDateFieldState getState()
AbstractConnectorgetState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class TextualDateConnectorpublic void onStateChanged(StateChangeEvent stateChangeEvent)
StateChangeEvent.StateChangeHandleronStateChanged in interface StateChangeEvent.StateChangeHandleronStateChanged in class AbstractComponentConnectorstateChangeEvent - the state change event with details about the changeprotected void setWidgetStyleName(String styleName, boolean add)
AbstractComponentConnector
Override this method for example if the style name given here should be
updated in another widget in addition to the one returned by the
AbstractComponentConnector.getWidget().
setWidgetStyleName in class AbstractComponentConnectorstyleName - the style name to be added or removedadd - true to add the given style, false
to remove itprotected void setWidgetStyleNameWithPrefix(String prefix, String styleName, boolean add)
AbstractComponentConnector
Override this method if the prefixed style name given here should be
updated in another widget in addition to the one returned by the
Connector's AbstractComponentConnector.getWidget(), or if the prefix should be
different. For example see
setWidgetStyleNameWithPrefix(String, String, boolean)
setWidgetStyleNameWithPrefix in class AbstractComponentConnectorstyleName - the style name to be added or removedadd - true to add the given style, false
to remove itCopyright © 2016 Vaadin Ltd. All rights reserved.