public class DateTimeFieldConnector extends TextualDateConnector<VDateTimeCalendarPanel,DateTimeResolution>
SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
DateTimeFieldConnector() |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTimeFieldState |
getState()
Returns the shared state object for this connector.
|
VPopupTimeCalendar |
getWidget()
Returns the widget associated with this paintable.
|
protected boolean |
isResolutionMonthOrHigher()
Returns
true is the current resolution of the widget is month or
less specific (e.g. |
protected void |
updateListeners()
Updates listeners registered (or register them) for the widget based on
the current resolution.
|
init, onStateChanged, setWidgetStyleName, setWidgetStyleNameWithPrefixflush, getDefaultValues, setAndUpdateAssistiveLabelsisReadOnly, isRequiredIndicatorVisible, updateWidgetStyleNamescreateWidget, delegateCaptionHandling, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSizeaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelegateCaptionHandling, getLayoutManager, getTooltipInfo, hasTooltip, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabledaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledStategetConnectorIdprotected boolean isResolutionMonthOrHigher()
TextualDateConnectortrue is the current resolution of the widget is month or
less specific (e.g. month, year, quarter, etc).isResolutionMonthOrHigher in class TextualDateConnector<VDateTimeCalendarPanel,DateTimeResolution>true if the current resolution is above monthpublic VPopupTimeCalendar getWidget()
AbstractComponentConnectorgetWidget in interface ComponentConnectorgetWidget in class TextualDateConnector<VDateTimeCalendarPanel,DateTimeResolution>public LocalDateTimeFieldState getState()
AbstractConnectorgetState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class TextualDateConnector<VDateTimeCalendarPanel,DateTimeResolution>protected void updateListeners()
TextualDateConnector
Subclasses may override this method to keep the common logic inside the
#updateFromUIDL(UIDL, ApplicationConnection) method as is and
customizing only listeners logic.
updateListeners in class TextualDateConnector<VDateTimeCalendarPanel,DateTimeResolution>Copyright © 2018 Vaadin Ltd. All rights reserved.