public class InlineDateTimeFieldConnector extends AbstractInlineDateFieldConnector<VDateTimeCalendarPanel,DateTimeResolution>
SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
InlineDateTimeFieldConnector() |
| Modifier and Type | Method and Description |
|---|---|
VDateTimeFieldCalendar |
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.
|
getState, onStateChangedflush, getDefaultValues, init, setAndUpdateAssistiveLabelsisReadOnly, isRequiredIndicatorVisible, updateWidgetStyleNamescreateWidget, delegateCaptionHandling, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, 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()
AbstractInlineDateFieldConnectortrue is the current resolution of the widget is month or
less specific (e.g. month, year, quarter, etc).isResolutionMonthOrHigher in class AbstractInlineDateFieldConnector<VDateTimeCalendarPanel,DateTimeResolution>true if the current resolution is above monthpublic VDateTimeFieldCalendar getWidget()
AbstractComponentConnectorgetWidget in interface HasWidgetgetWidget in class AbstractInlineDateFieldConnector<VDateTimeCalendarPanel,DateTimeResolution>protected void updateListeners()
AbstractInlineDateFieldConnector
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 AbstractInlineDateFieldConnector<VDateTimeCalendarPanel,DateTimeResolution>Copyright © 2023 Vaadin Ltd. All rights reserved.