public class CalendarConnector extends AbstractLegacyComponentConnector implements ActionOwner, SimpleManagedLayout, Paintable
VCalendar on the client side.SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
CalendarConnector() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActionCaption(String actionKey)
Get the text that is displayed for a context menu item.
|
Date |
getActionEndDate(String actionKey)
Get the end date for an action item.
|
String |
getActionIcon(String actionKey)
Get the icon url for a context menu item.
|
String |
getActionID(String actionKey)
Get the original action ID that was passed in from the shared state.
|
Action[] |
getActions()
Returns ALL currently registered events.
|
Date |
getActionStartDate(String actionKey)
Get the start date for an action item.
|
ApplicationConnection |
getClient()
Returns the ApplicationConnection used to connect to the server side.
|
String |
getPaintableId() |
CalendarState |
getState() |
TooltipInfo |
getTooltipInfo(com.google.gwt.dom.client.Element element) |
VCalendar |
getWidget() |
boolean |
hasTooltip() |
protected void |
init() |
void |
layout() |
void |
onStateChanged(StateChangeEvent stateChangeEvent) |
void |
onUnregister() |
protected void |
registerListeners()
Registers listeners on the calendar so server can be notified of the
events.
|
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client) |
getRpcProxy, isReadOnly, updateWidgetStyleNamescreateWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSizeaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelegateCaptionHandling, flush, getLayoutManager, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabledaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledStateprotected void init()
init in class AbstractConnectorpublic void onUnregister()
onUnregister in interface ServerConnectoronUnregister in class AbstractComponentConnectorpublic VCalendar getWidget()
getWidget in interface HasWidgetgetWidget in class AbstractComponentConnectorpublic CalendarState getState()
getState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class AbstractLegacyComponentConnectorprotected void registerListeners()
public void onStateChanged(StateChangeEvent stateChangeEvent)
onStateChanged in interface StateChangeEvent.StateChangeHandleronStateChanged in class AbstractComponentConnectorpublic void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL in interface Paintablepublic ApplicationConnection getClient()
getClient in interface ActionOwnerpublic TooltipInfo getTooltipInfo(com.google.gwt.dom.client.Element element)
getTooltipInfo in interface ComponentConnectorgetTooltipInfo in class AbstractComponentConnectorpublic boolean hasTooltip()
hasTooltip in interface ComponentConnectorhasTooltip in class AbstractComponentConnectorpublic String getActionID(String actionKey)
actionKey - the unique action keypublic String getActionCaption(String actionKey)
actionKey - The unique action keypublic String getActionIcon(String actionKey)
actionKey - The unique action keypublic Date getActionStartDate(String actionKey) throws ParseException
actionKey - The unique action keyParseExceptionpublic Date getActionEndDate(String actionKey) throws ParseException
actionKey - The unique action keyParseExceptionpublic Action[] getActions()
#getActions(Date) to
get the actions for a specific dategetActions in interface ActionOwnerpublic String getPaintableId()
getPaintableId in interface ActionOwnerpublic void layout()
layout in interface SimpleManagedLayoutCopyright © 2021 Vaadin Ltd. All rights reserved.